Skip to main content
Participant
July 7, 2011
Question

Picture's Color taken with Camera and displayed in Video sucks

  • July 7, 2011
  • 1 reply
  • 294 views

here is the code :

_size = 256;

_camera = Camera.getCamera();

if( ! _camera ) return;

_camera.setKeyFrameInterval(24);

_camera.setQuality(0, 0);

_camera.setLoopback( false );

_camera.setMode(_size, _size, 12, false);

_video = new Video( _camera.width, _camera.height );

_video.attachCamera(_camera);

addChild( _video );

I tried all possible configuration cpu/gpu - portrait/paysage/both -

I need to use Video since i have to look for a QRcode.

The device is a galaxy S2

Does anyone knows a trick / solution ?

Thank's

This topic has been closed for replies.

1 reply

s7thAuthor
Participant
July 7, 2011

I just report the bug to adobe

http://bugs.adobe.com/jira/browse/FP-7356

Participant
July 7, 2011

Hi

Even I am implemeting a solution wherein I am capturing image and decoding the QR code.

In my case,the QR code is getting read but I need to zoom into the camera so that its possible from a distance also.

I have thoroughly googled for the solutions but seems its not possible.Tried setMode(),ZoomViewTransition,Gesture Zoom but couldnt

zoom into the camera but only scaled the Visual elements containing the camera instance and later the captured image.

Finally I got a reply from an Adobe employee that its not possible through the Camera class. So i have posted an idea on http://ideas.adobe.com

to include zoom(atleast digital if not optical) functionality for the Camera class. I dont want to use the CameraUI class since

it stores the image as a file to be used later.

Thanks

Monika