# RC Boat tracking for Crossing Line event

**URL:** https://forum.opencv.org/t/rc-boat-tracking-for-crossing-line-event/24725
**Category:** Python
**Created:** [September 23, 2026, 6:56am UTC](https://forum.opencv.org/t/rc-boat-tracking-for-crossing-line-event/24725 "2026-09-23T06:56:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![brushlesspower](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@brushlesspower](https://forum.opencv.org/u/brushlesspower)
#### Post date: [September 23, 2026, 6:56am UTC](https://forum.opencv.org/t/rc-boat-tracking-for-crossing-line-event/24725/1 "2026-09-23T06:56:35Z")

</div>

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](https://youtu.be/RlZg-NaNxvk)

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?

---

<div class="post-metadata">

### Author: ![brushlesspower](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@brushlesspower](https://forum.opencv.org/u/brushlesspower)
#### Post date: [September 23, 2026, 7:10am UTC](https://forum.opencv.org/t/rc-boat-tracking-for-crossing-line-event/24725/2 "2026-09-23T07:10:38Z")

</div>

Here the Background Subtraction Video

[Video](https://youtu.be/Co7-g7IuZqo)

---

<div class="post-metadata">

### Author: ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)
#### Post date: [September 23, 2026, 7:53am UTC](https://forum.opencv.org/t/rc-boat-tracking-for-crossing-line-event/24725/3 "2026-09-23T07:53:07Z")

</div>

- 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_
