We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I recently experienced the following issue when trying to generate the python aruco paper examples to print out;
cv2.imshow('Template', drawPaperTemplate()) cv2.error: OpenCV(4.0.0) c:\projects\opencv-python\opencv\modules\imgproc\src\color.hpp:261: error: (-2:Unspecified error) in function '__cdecl cv::CvtHelper<struct cv::Set<1,-1,-1>,struct cv::Set<3,4,-1>,struct cv::Set<0,2,5>,2>::CvtHelper(const class cv::_InputArray &,const class cv::_OutputArray &,int)' > Unsupported depth of input image: > 'VDepth::contains(depth)' > where > 'depth' is 6 (CV_64F)
I have fixed this by changing the following:
cv2.imshow('Template', drawPaperTemplate())
to
t = drawPaperTemplate().astype(np.uint8) cv2.imshow('Template', t)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I recently experienced the following issue when trying to generate the python aruco paper examples to print out;
I have fixed this by changing the following:
cv2.imshow('Template', drawPaperTemplate())
to
The text was updated successfully, but these errors were encountered: