Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

violajones python opencv

import numpy as np
import cv2

face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
eye_cascade = cv2.CascadeClassifier('haarcascade_eye.xml')

img = cv2.imread('sachin.jpg')
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
Source by opencv24-python-tutorials.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #violajones #python #opencv
ADD COMMENT
Topic
Name
7+3 =