Skip to content

Instantly share code, notes, and snippets.

Dmytro dmitriy-t

Block or report user

Report or block dmitriy-t

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dmitriy-t /
Last active Nov 10, 2015
This is the version of "" from Adrian Rosebrock, updated for use with OpenCV 3.0 (note lines 14, 15, 34, 44)
# Original files and article is here:
# import the necessary packages
import numpy as np
import cv2
def detect(image):
# convert the image to grayscale
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
You can’t perform that action at this time.