Skip to content

Instantly share code, notes, and snippets.

View Gissur's full-sized avatar

Gissur Jónsson Gissur

  • DIS - Study Abroad
  • Copenhagen, Denmark
View GitHub Profile
@qgolsteyn
qgolsteyn / dice_reader.py
Last active June 17, 2024 09:01
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)