You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have OpenCV 4.5.4 with Cuda installed.
When I try to load my cascade file it throws the error below. I've tried using both relative and absolute paths but none of them worked. This cascade works perfectly with normal cv2.CascadeClassifier() but not with Cuda. My cascade file is also below.
Legacy format of cascades has been deprecated and new format is provided: 302a5adcc20d96720248c23719f33d3da72886b3 (related PR is improperly linked due to wrong direction of manual merge commits...)
Unfortunately it is not done for CUDA code part. It is not migrated due to lack of support.
Only the old haar classifier (trained by the haar training application) and NVIDIA's nvbin are supported for HAAR and only new type of OpenCV XML cascade supported for LBP.
Legacy format of cascades has been deprecated and new format is provided: 302a5adcc20d96720248c23719f33d3da72886b3 (related PR is improperly linked due to wrong direction of manual merge commits...)
Unfortunately it is not done for CUDA code part. It is not migrated due to lack of support.
Only the old haar classifier (trained by the haar training application) and NVIDIA's nvbin are supported for HAAR and only new type of OpenCV XML cascade supported for LBP.
Since the CPU one works efficiently with Jetson Nano, looks like I'm going to stick with CPU CascadeClassifier. Though using GPU would be better. Anyways thank you for the answer.
Uh oh!
There was an error while loading. Please reload this page.
System information (version)
Detailed description
I have OpenCV 4.5.4 with Cuda installed.
When I try to load my cascade file it throws the error below. I've tried using both relative and absolute paths but none of them worked. This cascade works perfectly with normal cv2.CascadeClassifier() but not with Cuda. My cascade file is also below.
Cascade XML
Steps to reproduce
or
Issue submission checklist
I report the issue, it's not a question
I checked the problem with the documentation, FAQ, open issues, answers.opencv.org, Stack Overflow, etc and have not found a solution
I updated to the latest OpenCV version and the issue is still there
There is reproducer code and related data files: videos, images, onnx, etc
The text was updated successfully, but these errors were encountered: