140 likes | 314 Views
This project aims to automate dart score detection using Raspberry Pi, solving the annoyance of manual counting. It utilizes OpenCV, C++, and webcams for accuracy. Despite challenges like webcam issues and limited Raspberry Pi performance, it promises a convenient solution for dart enthusiasts. Both the background model initialization process and the dart detection algorithm contribute to accurate score calculations. Follow along the development journey and see how this innovative system enhances the dart-playing experience.
E N D
DartPiAutomatic Dart Score Detection using Raspberry Pi Christian Hirsch
Content • Motivation • Development Environment • Approach/Progress • Problems • Videos DartPi – Automatic Dart Score Detection
Motivation • „Analog“ dart is cooler • Darts can hurt • You see that you‘ve played • Manual counting is annoying • A PC or notebook is too big/expensive • Raspberry Pi is the solution DartPi – Automatic Dart Score Detection
Development Environment • For Testing: • Open CV 2.4.3, C++ • Microsoft Visual Studio 2010 • Videos • Final version • RaspberryPi, Raspbian • OpenCV 2.3.?, g++, make • „analog“ Dartboard + 2 Webcams DartPi – Automatic Dart Score Detection
Approach/Progress • Detect dartboard + markings • Detect darts • Check whether someone shot a dart or player changed • Equip dartboard with webcams • Compile the program on Raspbian • Count the dart-score • Create a userinterface (?) • Handle user interactions DartPi – Automatic Dart Score Detection
Would be nice but … DartPi – Automatic Dart Score Detection
… not possible DartPi – Automatic Dart Score Detection
Possible … your title
Possible … DartPi – Automatic Dart Score Detection
Dart Detection - Process • Initialize background model • for each camera • Check if something changes • small changes in short time -> dart • big changes, long time -> change • anyting else -> error • Get dartboard + dart contours • calculate position • calculate points • Return points DartPi – Automatic Dart Score Detection
Real Problems • GLS • Webcams • no wideangle • Raspberry Pi performance • Image resolution of 320x240 px used • Errors • Maybe one webcam does not work correctly DartPi – Automatic Dart Score Detection