Detect flashing LEDs

Hi

So, I am working on an Augmented Reality App (mainly for HoloLens 2) and on of the functionalities of this app should be to detect the frequency a certain LED is flashing with. Furthermore, it should be possible to choose the LED which should be analyzed (there usually will be more than 1 in the Player’s view).
My question is now, is that even possible or to what extent is that possible?

Thanks for your help!

Lisa

Probably using OpenCV you can find demos written in C# like: image_processing/LedDetector/leddetector/led_highilighter.py at master · jlengrand/image_processing · GitHub

I know there are integrations of OpenCV with unity already in the asset store but i am not sure if it has all the functionality