RC Boat tracking for Crossing Line event

Hi,

for the last months and days i was trying to code a python skript to measure the time of aRC Boat when its crossing a line. This my tries are working for good conditions (Sun, no waves, fast boat)
But for the last competition we had big waves and slow boats.

i recorded some videos.
Video

At the moment me and the AI dont get a good tracking for the boat. Most of the time other motion is tracked.
Do you guys have an idea how to track the boat?

Here the Background Subtraction Video

Video

  • the camera moves with the wind. that’s an issue
  • clutter (people in the scene) are an issue. that is only making the problem harder than it needs to be. scene hygiene is important.
  • with bgseg, history/learning rate is vital. let it get a read on the waves, dial the parameter to be slow.
  • abandon bgseg entirely, run an AI object detection model instead, maybe a “segment anything” type of model. chances are, these things will catch the boat.
  • maybe don’t use CV at all. simply record the video, then determine crossings manually. you only need “transport”/jogging to be possible frame-by-frame