SE-Projekt-LED-Detection / LED-Detection

LED-Detection is a tool for observing state leds on PCBs using a document camera.
MIT License
2 stars 2 forks source link

Refactor Herz Calculatio #91

Open morgenmuesli opened 2 years ago

morgenmuesli commented 2 years ago

The current Frequence Calculatio ist quite Noisy. At current state the Frequence ist calculated only by it's current state and the last state.

False predictions on the state have a huge impact and so the Frequency is most of the time wrong

Some improvements There are some improvements we could make. The first would be to calculate the moving average (See Color detection) and clipping to the next reasonable Frequency. Another approach would be to use autocorrelation for this