Android - Reducing glare on the camera (photo / video)

I am trying to reduce the glare created when shooting a photograph or video of a reflective surface; A window, glasses or other mobile device.

I have done some research on this, and it seems that some algorithms exist. But I have not yet found a coded implementation.

The reason I need this is because I am making an application that allows you to read different colors on the screen of other devices using the camera on your device. And if there is a lot of glare, the colors will not read normally. He should be able to distinguish between 16 colors.

Are there any existing implementations, and if so, how would I implement them in Android?

+8
android android camera
source share
1 answer

I recommend making a threshold on top of Gaussian blur to identify bright spots in your image and remove them. OpenCV is the industry standard and your best choice for image manipulation. First, I recommend doing some experiments on the computer, to get the process flow first before transferring it to the phone. Also, avoid anything new or complicated.

[1] How to detect hot spots in an image

[2] http://opencv.org/platforms/android.html

+3
source share

All Articles