Native camera over HTC device
Hello,
I want to use OpenCV native camera over a HTC device (Android 4.1.1). I thought this was a kwnown issue that has been already corrected.
I am using OpenCV-2.4.6-android-sdk but I am not able to make my application (which uses OPENCV native camera) work on the HTC device (while it works well on a Galaxy S device). I also tried to use the native camera with the sample code "tutorial-1-camerapreview sample ", but It does not work on my HTC device. Could you give me any clues to make it work.
Some devices just wont work, since the internal implementation by the developer/manufacturer is most likely not conform with the standard. So the opencv camera libs will fail. You could try to somehow use the standard android java api.
Maybe this somehow helps: http://stackoverflow.com/questions/15959552/unable-to-use-both-cameras-of-evo-4g-using-opencv4android
Actually, I have seen that the specific issue of HTC phone with native camera have been treated https://bitbucket.org/manctl/opencv/commits/all?page=907a9101eb7aca65e5f096cde387df65be8b271d So I expect that it should work, but may be have I misconfigured something?
Which HTC device do you have? Just because it got fixed on some older ones like htc s, its wont necessarily work on newer ones. You also cant really misconfigure anything.