Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 613 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 613 Bytes

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.