• Welcome to RCTalk! 🚀

    Join the #1 RC community where hobbyists connect, share, and get expert advice on RC cars, trucks, boats, drones, and more!

    • Friendly & passionate RC enthusiasts
    • RC tips & troubleshooting
    • Buy, sell & trade RC gear
    • Share builds & upgrades

Project: Lap Timer using colours to detect cars

This site may earn a commission from merchant affiliate
links, including eBay, Amazon, and others.

mechkbfan

RC Newbie
Messages
12
Reaction score
23
Points
8
Summary
Created a website for phones only that can record lap times of RC cars based off their unique colours (i.e. can't have two red cars, can't drive green car on grass)

Application: https://abowen.github.io/LapTimerCvJs/
Instructions: https://github.com/abowen/LapTimerCvJs/blob/main/readme.md

Features
- Uses text to speech to announce who is laps remaining and who wins race
- Records overall best times + best laps per driver
- Export & import settings to share with friends
- Configurable laps and detection settings for fine tuning

Background

My friends and I do car park racing with TT02's.
Most of the guys are on a budget, so asking them to fork out extra for lap timing equipment was a bit much for a casual affair

Hence being a software engineer, decided to write my own prototype using OpenCV.
After proving the concept, I didn't have the time to complete it but I'd been curious to see how far vibe coding could take it.
Surprisingly it got it feature complete. Not particularly happy with some of the code style, so if I get the time in the future I'll re-write a bunch myself.

Hopefully this project is useful for others, even just by yourself for recording laps for a day
I don't have a professional timing device to compare it to, but I'd be surprised when setup correctly if it's off by more than 50ms (be great if someone could test that for me)

Bugs

It's in beta stage, so if you find bugs, be kind and I'll see about fixing them
Only supporting phones for now. I know it looks terrible and there's issues on desktop
I've only used it on Firefox with Android, so don't hate me if it's broken on an iPhone


Feedback

I'm trying to keep this project to follow KISS, so if the feature maintains that vision, then I'll see about adding it
The detection configuration options are available at the end. If you find certain values work well for you, let me know if it helps you

Cheers
 
Back
Top