Skip to content
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

Android native camera library is not chosen automatically #1

Open
ayberkozgur opened this issue Oct 10, 2014 · 0 comments
Open

Android native camera library is not chosen automatically #1

ayberkozgur opened this issue Oct 10, 2014 · 0 comments

Comments

@ayberkozgur
Copy link
Member

OpenCV relies on OpenCV Manager to get the correct libnative_camera_r*.so in place so that it can be loaded with the libnative_camera_r prefix without paying attention to the version. This doesn't allow a scenario where OpenCV Manager is not used and all of libnative_camera_r*.so are bundled with the APK for cross-version compatibility. A rewrite of https://github.com/Itseez/opencv/blob/master/modules/androidcamera/src/camera_activity.cpp#L167 is needed. This is best submitted as a PR to OpenCV itself. If this PR is rejected, https://github.com/Itseez/opencv/blob/master/modules/androidcamera/src/camera_activity.cpp will be forked to CVCamera.

For now, bundling the correct version for your device is the only solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant