DarwinsBuddy / foosball-ai

Computer-Vision pipeline to track a foosball game
Other
5 stars 1 forks source link

Prevent false positive goals #12

Closed DarwinsBuddy closed 9 months ago

DarwinsBuddy commented 9 months ago

Following scenarios should be circumvented which appeared in a test game:

Solution:

Make analyzer count a goal only after some grace period of x frames or x fractions of a second without a track re appearing

DarwinsBuddy commented 9 months ago

https://github.com/DarwinsBuddy/foosball-ai/commit/cdc38d31f0f371ec270dbef4e1af4a3a72d2434f