-
Notifications
You must be signed in to change notification settings - Fork 123
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
Is it possible to use this project with c++/JNI openCV code? #74
Comments
Hey @StainlessStlRat , did you manage to use C++ for this? |
@skizzo i just used the tried and true method of bringing in the project as a module |
Could you share a code example? |
@skizzo I only just realized this was on a non opencv forum. Go to openCV forum, download the openCV4AndroidSDK, follow their instructions for adding it as a module. That'll get you access to the Java part. For c++ dev, you need to get a reference to the SDK/Libs. Assuming you know how to use CMake, here's what I do to get the reference. Note that ~/dev/OpenCV-... is where my sdk copy is. set(OpenCVAndroidSDKLocation "~/dev/OpenCV-android-sdk") Then you can add it to a target like this: target_link_libraries(OpenCVUtil Hope that helps |
I just found this project, and it would be a huge boon to me to be able to use this instead of openCV4AndroidSDK
However, most of my openCV code is c++. Is it possible to use this project for that?
The text was updated successfully, but these errors were encountered: