Ask Your Question

ike's profile - activity

2012-12-04 00:35:45 -0600 asked a question how manipulate camera properties using libnative_camera?

I am working with OpenCV 2.4.2 android sdk and have native camera support working with the tutorial apps. I can see thru the Android logging system many camera options as being 'supported' by the libnative_camera library as it gets loaded by the android app (see below). Does libnative_camera library provide some api's to control these camera properties or should I use Android camera control api's to control the camera properties?

12-03 01:27:59.962: D/OpenCV_NativeCamera(5843): Supported Picture Sizes: 320x240,640x480,1024x768,1280x720,1920x1088,2048x1536,2560x1920,3264x1836,3264x2448

12-03 01:27:59.962: D/OpenCV_NativeCamera(5843): Supported Preview Sizes: 1024x580,1024x576,800x600,720x480,640x480,640x360,416x312,352x288,320x240,176x144

12-03 01:27:59.962: D/OpenCV_NativeCamera(5843): Supported Preview Formats: yuv420sp,yuv420p

12-03 01:27:59.962: D/OpenCV_NativeCamera(5843): Supported Preview Frame Rates: 30,15,10

12-03 01:27:59.962: D/OpenCV_NativeCamera(5843): Supported Whitebalance Modes: auto,incandescent,fluorescent,daylight,cloudy-daylight

12-03 01:27:59.962: D/OpenCV_NativeCamera(5843): Supported Effects: none,mono,negative,sepia

12-03 01:27:59.962: D/OpenCV_NativeCamera(5843): Supported Scene Modes: auto,portrait,sports,landscape,night,fireworks,barcode,night-portrait

12-03 01:27:59.962: D/OpenCV_NativeCamera(5843): Supported Focus Modes: auto,infinity,fixed,macro,continuous-video,continuous-picture

12-03 01:27:59.962: D/OpenCV_NativeCamera(5843): Supported Antibanding Options: off,50hz,60hz,auto

12-03 01:27:59.962: D/OpenCV_NativeCamera(5843): Supported Flash Modes: auto,off,on,torch