0
我-simply-像这样Python的CV2设置文本值:如何在Python中基于x,y和z轴旋转cv2.putText?
cv2.putText(image, landmark['type'], (x, x), cv2.FONT_HERSHEY_PLAIN, 1, (0,255,0), 1)
然而,我的第三个值:z
。我如何根据z
值旋转文本?值的
例子:
'position': {
'y': 404.0564,
'x': 1122.9471,
'z': 1.4555236
}
或
'position': {
'y': 404.0564,
'x': 1122.9471,
'z': -12.8743
}