Skip to content

Instantly share code, notes, and snippets.

View jaganadhg's full-sized avatar
🎯
Focusing

Jaganadh Gopinadhan jaganadhg

🎯
Focusing
View GitHub Profile
@jayapal
jayapal / get_color_code.py
Created May 27, 2016 07:37
get_color_code.py
from sklearn.cluster import KMeans
from sklearn import metrics
import cv2
# By Adrian Rosebrock
import numpy as np
import cv2
# Load the image
image = cv2.imread("red.png")