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 am using the ORB cuda CV2 detector. I need to filter the keypoint returned from detect and then compute the descriptors using the updated keypoints.
Unfortunately it seems that the computeAsync uses the keypoints received from the detect.
The number of keypoints returned from detectAsync is 3000 (max number defined in orb cuda create). The filtered keypoints is 1700 but the number of descriptors is 3000.
I know that I can use detectAndComputeAsync and filter after but is much time consuming.
I am using opencV 4.8.0 with python 3.8 on windows 64bit PC.
thanks,
Iliya
This issue appears to be present in the underlying OpenCV CUDA ORB implementation and not only in the Python binding. There is an issue open for it on the OpenCV repo as well (opencv/opencv#9151) that was opened in 2017.
I am using the ORB cuda CV2 detector. I need to filter the keypoint returned from detect and then compute the descriptors using the updated keypoints.
Unfortunately it seems that the computeAsync uses the keypoints received from the detect.
The number of keypoints returned from detectAsync is 3000 (max number defined in orb cuda create). The filtered keypoints is 1700 but the number of descriptors is 3000.
I know that I can use detectAndComputeAsync and filter after but is much time consuming.
I am using opencV 4.8.0 with python 3.8 on windows 64bit PC.
thanks,
Iliya
Code example
##################################
#detect keypoints
cuMat1 = cv2.cuda_GpuMat()
cuMat1.upload(image)
keypoints_detected_GPU = detector.detectAsync(cuMat1, mask=None)
keypoints_detected = detector.convert(keypoints_detected_GPU)
The text was updated successfully, but these errors were encountered: