-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
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
cv2.Mat does not exist in opencv cuda build #468
Comments
Seems like someone else also encountered this: https://discuss.streamlit.io/t/attributeerror-module-cv2-has-no-attribute-mat/86727 |
Thanks for letting me know, I'll make sure this prioritized for resolution in the next release. We should probably audit the use of |
@subbyte I've just pushed a new version (0.6.5.2) that should fix this issue. Let me know if you run into any other issues, thanks for the report! |
Fix confirmed. Thank you! |
Description:
dvr-scan
reports an error when running withMOG2_CUDA
.Command:
dvr-scan -b MOG2_CUDA -i example.mp4
Output:
Environment:
Debug:
I replaced
cv2.Mat
withcv2.UMat
inscene_manager.py
and it works now. Basically some compilation of CUDA-enabled OpenCV does not havecv2.Mat
but onlycv2.UMat
, e.g., python-opencv-cuda.I suspect this is related to #456 when
cv2.Mat
was added toscene_manager.py
. I didn't have this issue with version 0.6.4The text was updated successfully, but these errors were encountered: