OpenCV python和ArUco库estimatePoseSingleMarker()模块没有属性
使用OpenCV python和aruco库进行跟踪项目。 使用时引发以下错误OpenCV python和ArUco库estimatePoseSingleMarker()模块没有属性,python,opencv,aruco,Python,Opencv,Aruco,使用OpenCV python和aruco库进行跟踪项目。 使用时引发以下错误 rvecs,tvecs = aruco.estimatePoseSingleMarker(corners, 0.1765, cameraMatrix, distcoefs) 错误: AttributeError: 'module' object has no attribute 'estimatePoseSingleMarker 其他人工作得很好 aruco.Dictionary\u get(aruco.Dict
rvecs,tvecs = aruco.estimatePoseSingleMarker(corners, 0.1765, cameraMatrix, distcoefs)
错误:
AttributeError: 'module' object has no attribute 'estimatePoseSingleMarker
其他人工作得很好
aruco.Dictionary\u get(aruco.Dict\u 6x6\u 250)
aruco.DetectParameters\u create()
你知道为什么会犯这样的错误吗
>>> cv2.__version__
'3.2.0-dev'
odroid@odroid:~$ python --version
Python 2.7.12
odroid@odroid:~$ 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
模块为aruco.estimatePoseSingleMarkers,末尾为s