Difference between Java Camera and OpenCV Native Camera

3,793 views
Skip to first unread message

Lawrence Tsang

unread,
Jan 9, 2012, 2:23:49 AM1/9/12
to android-opencv
Hi,

In OpenCV-Android samples, my Android device could only run the
samples that use the Android Java Camera and I have no luck in running
the samples using OpenCV Native Camera (such as "Tutorial 1 Basic - 2.
Use OpenCV Camera"). For the Java Camera samples, I could get a
maximum frame rate as high as 8/9 fps.

I want to know that what are the main differences between the
Java Camera and the OpenCV Native Camera. If I have an Android device
that runs the Native Camera samples, would I have a higher maximum
frame rate ?

Thanks in advance for any suggestion.

Lawrence

Roman

unread,
Jan 9, 2012, 7:50:16 AM1/9/12
to android-opencv
Hi,
AFAIK
native camera:
+ higher framerate
+ capture RGBA, no need to convert from android yuv format
- compiled only for armv7 architecture
- not work on all devices (for now)
- not support autofocus, setting gain.. (for now)

Roman

Lawrence Tsang

unread,
Jan 9, 2012, 8:04:32 AM1/9/12
to android-opencv
Thanks Roman.

Lawrence
Reply all
Reply to author
Forward
0 new messages