Question
System information (version)
- OpenCV => 4.7.0.72
- Operating System / Platform => Windows 10
- Compiler => Visual Studio Code
- OpenCV extra module => cuda
Detailed description
I’m working on connected component analysis using OpenCV-CUDA, and I want to use the API ‘cv2.cuda.labelComponents’.
According to the official documentation of OpenCV 4.7.0, this API should exist.
However, when I try to use it in Python, I get an attribute error. Is there anyone who has experience using OpenCV-CUDA in Python and can offer an alternative method to obtain the center points of connected components?
Answer
Here there is a python binding in doc
there is no python binding in labelComponents