Ask Your Question
0

How can I change the sampling period for an OpenCV frame on an Android device?

asked 2013-03-28 08:51:33 -0500

Dangthrimble gravatar image

I am trying to compare the colour of LEDs using OpenCV with an Android camera. Unfortuntely the LEDs have a cycle time that means the intensity of each LED is different within a single OpenCV frame. Is there some way I can extend the sampling period for the OpenCV frame so that it can cover the LED cycle time and all LED intensities can be as they appear to the naked eye?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-03-28 10:07:22 -0500

Hello!

I've never used OpenCV on Android, but, if I understood correctly the problem, I would give a try at the VideoCapture::set method to change the CV_CAP_PROP_EXPOSURE parameter. Though this would be a pretty rough solution to your problem.

edit flag offensive delete link more
0

answered 2013-03-28 10:24:40 -0500

What you could just do is take an average image over multiple frames, which will yield and average intensity result, which is exactly what you want to achieve right?

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-03-28 08:51:33 -0500

Seen: 174 times

Last updated: Mar 28 '13