Skip to content

Count dice pips on live video using OpenCV and SimpleBlobDetector.

License

Notifications You must be signed in to change notification settings

jwolle1/Dice_Counter_OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice Counter Using OpenCV & Python

This program counts the number of dice pips that appear in a video feed.

To accomplish this it uses OpenCV's built-in SimpleBlobDetector. The code is heavily commented and easy to expand.

Video Demo: https://www.youtube.com/watch?v=lZBEsf6_XZ4

Counting Pips


To use:

  1. Required dependencies are OpenCV and Numpy. If you don't have them installed or you're using old versions, run pip3 install -r requirements.txt.
  2. Set options at the top of dice_reader.py and run.

About

Count dice pips on live video using OpenCV and SimpleBlobDetector.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages