Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is OpenCV for Python or C++ a good library to use for detecting the blinking rate/frequency of an LED diode lights?

image description

In the picture, we can see a frame which tells us where the LEDs are located on an Oculus Rift headset and the blinking rate of the each LED.

I would like to build something like in the picture shown, but with a NOIR (no infrared) camera of 640x480 resolution and 15 to 30 frames per second (FPS). Can OpenCV be used to determine the LED blink frequency (Hertz Hz I believe) of a different number of LEDS and track their locations very similarly as shown in the picture above and the video below?:

https://www.youtube.com/watch?v=O7Dt9Im34OI

If I need a camera with higher resolution and frame rate, would I be able to accomplish my goal with a video capture feed of 1080x1920 60 fps?