Closed
Description
Expected behaviour
When CUDA capabilities are available on the system cv2.cuda should be usable.
Actual behaviour
cv2.cuda is not exposed in any way, so duplicating the following cpp code is not possible using opencv-python:
Ptr<cuda::TemplateMatching> matcher = cuda::createTemplateMatching(CV_8U, CV_TM_SQDIFF); UMat gpu_haystack, gpu_needle, gpu_result; haystack = imread("haystack.png", 1); needle = imread("needle.png", 1); gpu_haystack.upload(haystack); gpu_needle.upload(needle); matcher->match(gpu_haystack, gpu_needle, gpu_result);
Metadata
Metadata
Assignees
Labels
No labels