Skip to content

Missing CUDA implementation #71

Closed
Closed
@JustusW

Description

@JustusW

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions