Check out the tutorial on Youtube Summary Let's walk through counting Lego using OpenCV's Blob Detection How to use To run just enter python main.py into your terminal