-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
CUDA openCV 3.1 Object Detection code unavailable in JavaCV 1.2 #481
Comments
I am currently beginning to work go get (at least part of) the cuda module available in javacv. When I have something that works (for the couple of methods I need), I will make sure to add a pull request. Estimate that I have something basic ready in January 2017. |
Thanks for the heads up. It will be interesting if the detection is significantly accelerated vs a multi-core implementation. I've seen several papers argue the latter is faster.
Noah
|
Can you share such papers? |
I have something that works now, will create a pull request as soon as i have cleaned it up a bit. For the one method i have tried with (calcOpticalFlowPyrLK) the performance on my system was slightly worse. That method was quite fast with my parameters already (4.5ms), while with the cpu to gpu copy and back again, multicore cpu, and a rather slow mobile gpu, the performance went a bit down to about 6ms. But i can parallellize my code path using gpu with another cpu intensive function, so for me the 4.5ms will disappear. |
Question: How is this project related to OpenPNP-OpenCV? I have now little chaos why there are 2 bindings available, or this is related project? Thanks for explanation. |
It's not related. They are not creating bindings for Java.
|
Ok, then why they say on the site (citation):
|
They are just using the bindings for Java that come with OpenCV. |
I got it, on my Gentoo system I installed the opencv with java support, so in lib path it generated additional jar file to linux so library. But this Java binding is very similar or same. I mean what is the key difference between javacpp way and opencv java implementations? |
Answer is here: http://bytedeco.org/faq/
|
…ia `-gpu` extension (issue bytedeco/javacv#481)
As per the commit above, I've enabled CUDA builds, and will soon be merging bytedeco/javacpp-presets#416. |
Thanks to @SamCarlberg, it is now available in the newly released version 1.4. Enjoy! |
Hi!
The CUDA object detection code for opencv 3.1 is not currently available in JavaCV 1.2. I was wondering if there was a near term plan to add that in.
The text was updated successfully, but these errors were encountered: