Jordan Hook

Software Developer

Featured Project
Last Modified: 14/11/2020

This is a small C++ project in which uses the OpenCV Library 3.0. The purpose of this project is to detect and count the values on dominoes. Some simple processing is applied to the image in order to locate the dominoes within the video stream. Once found the dominoes are sliced out of the video steam into their own individual images and passed to another function in which attempts to read the values of the dominoes as two separate values (Top and bottom or left and right depending on the orientation of the domino).

This is not a perfect process however, it can be accurate in the right environment. Ideally you would like to place your camera directly above the dominoes facing down at them. The camera should be approximate 1.5ft away from the scene. Lighting in the scene should be good (however, please note that if you dominoes are shiny then a bright light may cause the algorithm to fail due to the reflective surface).

Here is an exampleof the system working.


Also note that very noisy backgrounds can cause the process to fail as it may be unable to detect the edges of the domino.


Additional Resources


Recent Activity
  • Detecting Malware: Part 1

    Before reading this article I strongly recommend taking a quick peak at my previous tutorials with regards to scraping for malware (links below). They will help get you started on your malware anal...

  • Scraping for malware: Part 2

    If you haven't already done so, please read Part 1 to learn about how we developed the scraper...

  • Scraping for malware

    One of my more popular projects on GitHub as of recently is the MalwareFinder application that was written in C# .NET. The purpos...

  • A Fresh Start

    If you have ever visited my website you may have noticed at this point that there is a completely new look and feel. I've recently allotted some time in order to improve and redesign my personal we...