Dice Counter
Counting dice pips.
By Laurent Ittiitti@usc.eduhttp://jevois.orgGPL v3
 Language: C++Supports mappings with USB output: YesSupports mappings with NO USB output: No 
 Video Mapping:   YUYV 640 480 7.5 YUYV 640 480 7.5 SampleVendor DiceCounter

Module Documentation

This module can help you automate counting your dice values, for example when playing games that involve throwing multiple dice.

This application scenario was suggested by JeVois user mapembert at the JeVois Tech Zone in this post:


The code implemented by this module is a modified version of original code (mentioned in the above post) contributed by Yohann Payet.

This module is the result of JeVois tutorial A JeVois dice counting module in C++. Also see JeVois python tutorial: A dice counting module for a Python version.

Serial messages

This module sends the following serial message (remember to turn serial outputs on, using setpar serout Hard or similar; see Command-line interface user guide):


where n is the total number of pips detected. No message is sent if n is zero.

ParameterTypeDescriptionDefaultValid Values
This module exposes no parameter
Detailed docs:DiceCounter
Copyright:Copyright (C) 2017 by Laurent Itti, iLab and the University of Southern California
License:GPL v3
Support URL:http://jevois.org/doc
Other URL:http://iLab.usc.edu
Address:University of Southern California, HNB-07A, 3641 Watt Way, Los Angeles, CA 90089-2520, USA