Skip to content

CUDA HOG does not expose detect methods to other languages #2159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
c-x-berger opened this issue Jun 20, 2019 · 0 comments · Fixed by #2396
Closed

CUDA HOG does not expose detect methods to other languages #2159

c-x-berger opened this issue Jun 20, 2019 · 0 comments · Fixed by #2396

Comments

@c-x-berger
Copy link

System information (version)
  • OpenCV => 4.1.0
  • Operating System / Platform => Ubuntu 18.04 on Jetson Nano
  • Compiler => ❔
Detailed description

The cv::cuda::HOG class doesn't expose the detect and detectMultiScale methods to other languages (Java, Python, etc.) I think this is due to these methods missing a CV_WRAP in cudaobjdetect.hpp, however, I'm not a C++ expert so I wasn't sure about it.

Steps to reproduce
import cv2
gpu_hog = cv2.cuda.HOG_create()
gpu_hog.setSVMDetector(gpu_hog.getDefaultPeopleDetector())
gpu_hog.detectMultiScale() # it doesn't matter that we're missing parameters, this will AttributeError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants