Green Light Coding presents a new video which shows how to make an application for Cat Face Detection using OpenCV-Python in python language. Tkinter GUI is required to make it user friendly.
-- Scroll below to get the code --
Watch the full video and code it yourself .
people searches for:
python programming, cat face detection, face recognition python, object detection using opencv python, face detection using python, opencv-python, tkinter python tutorial, face detection, haarcascade xml, 🐱, 🐱 cat, cat, image recognition python, object detection, python face recognition, face detection python, image recognition python
_____________________________________________________________
Stay connected to us for more necessary coding tricks like these.
_____________________________________________________________
basic code:
import cv2
oc=cv2.CascadeClassifier(cv2.data.haarcascades+'haarcascade_frontalcatface.xml')
img=cv2.imread("testcase1.png")
col = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
o=oc.detectMultiScale(col, 1.1, 5)
for (p,q,r,s) in o:
cv2.rectangle(img, (p+r,q+s), (p,q), (255,0,0), 5)
cv2.putText(img,"CAT FACE DETECTED", (p-20,q-20), cv2.FONT_HERSHEY_DUPLEX, 1.5, (0,0,255))
resized = cv2.resize(img,(800,500))
cv2.imshow("image",resized)
________________________________________________________
#coding #codinglife #python #batchfile #scripting #pythonprogramming #pythontutorial #pythonforbeginners #commandprompt #primenumber
#fontsize #cmd #functions #console #programming #programminglife
#opencvpython #cv2 #catface #facedetection #machinelearning #artificialintelligence #visualstudio
LINK FOR BATCH SERIES PLAYLIST :
/ @greenlightcoding613
_______________________________________________________________
SUBSCRIBE FOR MORE UPDATES LIKE THESE
_______________________________________________________________
CHANNEL LINK : / @greenlightcoding613
_______________________________________________________________