0
使用OpenCV-python和aruco庫進行跟蹤項目。OpenCV-python和ArUco庫估計PoseSingleMarker()模塊沒有任何屬性
AttributeError: 'module' object has no attribute 'estimatePoseSingleMarker
別人做工精細
aruco.Dictionary_get(aruco.Dict_6x6_250)
aruco.DetectParameters_create()
任何想法,爲什麼它拋出這個錯誤: 以下錯誤使用
rvecs,tvecs = aruco.estimatePoseSingleMarker(corners, 0.1765, cameraMatrix, distcoefs)
錯誤時拋出?
>>> cv2.__version__
'3.2.0-dev'
[email protected]:~$ python --version
Python 2.7.12
[email protected]:~$ uname -a
Linux odroid 3.10.104-126 #1 SMP PREEMPT Tue Nov 29 22:24:16 UTC 2016
armv7l armv7l armv7l GNU/Linux
編輯:其幫助文檔中
help(cv2.aruco)
Help on module cv2.aruco in cv2:
NAME
cv2.aruco
FILE
(built-in)
FUNCTIONS
estimatePoseSingleMarkers(...)
estimatePoseSingleMarkers(corners, markerLength, cameraMatrix,
distCoeffs[, rvecs[, tvecs[, _objPoints]]]) -> rvecs, tvecs,
_objPoints
的感謝!讓我瘋狂! – Drak