Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

rvecs and tvecs are NoneType?

$
0
0
I saw some python codes online for detecting aruco markers, and I combined them together. This is the code: https://github.com/czjczjczj1/aruco/blob/780d4e724494893d45c0e9f39605081378e8c54a/aruco_detection_test.py#L21-L22 I wanted to draw the x-, y-, z-axis too, but I got an error saying: for i in range(len(tvecs)): TypeError: object of type 'NoneType' has no len() So why rvecs and tvecs are NoneType? How can I get two arrays?

Viewing all articles
Browse latest Browse all 2088

Trending Articles