Ask Your Question
1

Is there any way to view the native C/C++ code for Opencv for Android?

asked 2013-01-11 18:23:44 -0500

Jdban gravatar image

I'd love to see the C code and how its optimized, but it seems to be bundled inside the OpenCV Manager app and not available inside the source that I can find on SourceForge or in the Git repository. I can find the names of the function calls that call into the native code, but I can't find the actual native code anywhere. Is this code available? If so, where can I find it?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-01-12 04:07:30 -0500

Do you mean JNI functions? Some of JNI functions are implemented manually and you can find it in git at modules/java/generator/src/cpp. But the most functions JNI wrappers are generated automatically in build time. It it just wrappers to OpenCV API and do not do anything important for performance. All public functional source code are the same as for desktop available in git repo.

edit flag offensive delete link more

Comments

Yes, that's exactly what I meant, thank you!

Jdban gravatar imageJdban ( 2013-01-12 14:46:47 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-01-11 18:23:44 -0500

Seen: 115 times

Last updated: Jan 12 '13