I am trying to detect qr codes with the sony smarteyeglass
When I use CAMERA_MODE_STILL
i can capture a picture and detect the barcode in it works fine!
Now when I change the recording mode to CAMERA_MODE_JPG_STREAM_LOW_RATE
I have to set the resolution to CAMERA_RESOLUTION_QVGA
else setCameraMode
is throwing "resolution has illegal value" because in SmartEyeglassControlUtils
Stream support only contains QVGA
private static final List<Integer> CAMERA_JPEG_STREAM_SUPPORT_RESOLUTION = Arrays.asList(
SmartEyeglassControl.Intents.CAMERA_RESOLUTION_QVGA
);
I already tried modifying that but then the camera is not working anymore.
So how would I detect a QR code without having to actually snap a picture and send it to the zxing Library? is there a way to increase quality and still use the stream? or do I have to use Stillmode and actually capture pictures so I can use 3M resolution?