Face Recognition, Flask, Python, ML, Knn.
cv2.rectangle(frame,(x, y), (x+w, y+h), (255, 0, 20), 2) cv2.putText(frame,f'Images Captured: {i}/50',(30,30),cv2.FONT_HERSHEY_SIMPLEX,1,(255, 0, 20),2,cv2.LINE_AA) if j%10==0: name = newusername+'_'+str(i)+'.jpg' cv2.imwrite(userimagefolder+'/'+name,frame[y:y+h,x:x+w]) i+=1 j+=1 if j==500: break