Skip to main content
Participating Frequently
June 18, 2015
Answered

Process Cellphone Camera Image

  • June 18, 2015
  • 1 reply
  • 683 views

Hello everyone,

I'm wondering if it is possible to use Actionscript to adjust things like brightness and contrast on an image from my Galaxy Note 4's camera.  I already have a basic app that allows a stream to the phone screen directly from the camera, but I must do more!  Any direction would help.  (I'm not that great with Actionscript 3.0 yet.) 

Thanks.

This topic has been closed for replies.
Correct answer funkysoul

You can apply such transformations on any display object with this handy class: http://chargedweb.com/labs/2010/04/30/fast_brightness_contrast_saturation/

Are you only displaying a snapshot of the camera view or are you really streaming the camera feed to the app? Such calculations are very CPU intensive so I would be careful with it.

1 reply

funkysoul
funkysoulCorrect answer
Inspiring
June 20, 2015

You can apply such transformations on any display object with this handy class: http://chargedweb.com/labs/2010/04/30/fast_brightness_contrast_saturation/

Are you only displaying a snapshot of the camera view or are you really streaming the camera feed to the app? Such calculations are very CPU intensive so I would be careful with it.

Participating Frequently
June 20, 2015

Thanks for the reply!  The goal is to do it real-time with a video stream.  Is there a potential of damaging anything by doing this, or will my app simply not work?

funkysoul
Inspiring
June 22, 2015

hehe no you can't damage anything by doing it.. your app might crash or react sluggish. But as long as you don't use any crazy image manipulations you should be fine.