Ask Your Question
0

Change the resolution of a picture in JavaCamera

asked 2014-03-17 14:48:46 -0600

updated 2014-03-17 14:57:30 -0600

berak gravatar image

Hi, I am trying to change the resolution of a picture, that I take it with a JavaCamera. I'm using the tutorial OpenCV for android: Camera Control. But, It only change the resolution of the camera and no change the resolution of the picture.

Thank you!!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-03-18 02:35:31 -0600

JavaCamera view has android:layout_width="match_parent" android:layout_height="match_parent" attributes that ask view to scale image from camera to fit view. You just need to change sizing policy.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-03-17 14:48:46 -0600

Seen: 304 times

Last updated: Mar 18 '14