Highlighted

camera object exposure

Explorer ,
Mar 29, 2017

Copy link to clipboard

Copied

I've added a camera object using this code:

var cam: Camera = Camera.getCamera("1");

cam.setMode(1024, 768, 24);

var video: Video = new Video(1024, 768);

video.attachCamera(cam);

video.x = 0;

addChildAt(video, 0);

but it doesn't auto expose well like the native camera app does - so if i hold an led light near my face the native camera app adjust exposure accoridngly whereas in my air app it stays massively overexposed - any way to resolve this?

TOPICS
Development

Views

95

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

camera object exposure

Explorer ,
Mar 29, 2017

Copy link to clipboard

Copied

I've added a camera object using this code:

var cam: Camera = Camera.getCamera("1");

cam.setMode(1024, 768, 24);

var video: Video = new Video(1024, 768);

video.attachCamera(cam);

video.x = 0;

addChildAt(video, 0);

but it doesn't auto expose well like the native camera app does - so if i hold an led light near my face the native camera app adjust exposure accoridngly whereas in my air app it stays massively overexposed - any way to resolve this?

TOPICS
Development

Views

96

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 29, 2017 0

Have something to add?

Join the conversation