Skip to content

Instantly share code, notes, and snippets.

View OrlandoII's full-sized avatar

Orlando OrlandoII

View GitHub Profile
@qgolsteyn
qgolsteyn / dice_reader.py
Last active June 6, 2025 07:41
A small Python script that reads dice rolls out loud. See https://golsteyn.com/projects/dice/ for more info!
import cv2
import numpy as np
from sklearn import cluster
params = cv2.SimpleBlobDetector_Params()
params.filterByInertia
params.minInertiaRatio = 0.6
detector = cv2.SimpleBlobDetector_create(params)