$ cmake --build . $ cd .. $ python setup.py install --yes USE_AVX_INSTRUCTIONS --yes DLIB_USE_CUDA Install theface_recognitionpackage Theface_recognition moduleis installable via a simple pip command: $ workon <your env name here> # optional ...
Resources Readme License MIT license Activity Stars 0 stars Watchers 2 watching Forks 0 forks Report repository Releases No releases published Packages No packages published Languages C++ 56.3% Makefile 29.3% CMake 8.4% C 2.8% Python 1.8% Shell 1.1% Dockerfile 0.3% Footer...
importcv2 F_C=cv2.CascadeClassifier("haarcascade_frontalface_default.xml")IMG=cv2.imread("inp.png")G_scale=cv2.cvtColor(IMG,cv2.COLOR_BGR2GRAY)Faces=F_C.detectMultiScale(G_scale,1.1,4)for(x,y,w,h)inFaces:cv2.rectangle(IMG,(x,y),(x+w,y+h),(255,0,0),3)cv2.imshow("IMG",IMG)...