Please make a video on facial expression recognition
@benjaminthiery50803 жыл бұрын
hello, the code is running without any error but it does nothing after asking me to select the picture in my computer. I think I followed ur steps well so I don't know why it does nothing
@shivamkumar-tg5wb Жыл бұрын
same for me
@sreeharshar36523 жыл бұрын
Can you send de GitHub link
@mouadamaroua5618 Жыл бұрын
The dataset please sir
@rizall72543 жыл бұрын
🔥
@geniuszambia99293 жыл бұрын
Thanks for the video.
@udaykiran56022 жыл бұрын
Please a make a video installation of face-recognition package
@paaccpraveen Жыл бұрын
hello, the code is showing in terminal 1) line 60, in find_target_face() 2) line 42, in find_target_face create_frame(location, label) 3) line 49, in create_frame top, right, bottom, left = location 4) ValueError: too many values to unpack (expected 4) please help on this
@bicyclebicycle641311 ай бұрын
Same error
@bicyclebicycle641311 ай бұрын
Getting in create_frame top, right, bottom, left = location ValueError : too many values to unpack (expected 4)
@Chumma2-x2i Жыл бұрын
can we do this in real time video?
@tanmayrathod3053 жыл бұрын
Can you show how to make facial recognition model using yolo?
@tewodrosabitie9646 Жыл бұрын
how i can get the source code ? please
@ourfactualvision10 ай бұрын
When i run the code it shows me pip install face recognition models what should i do even when i installed it again same error is coming how to solve it?
@uzian95492 жыл бұрын
why do i have an error on for statement in for filename in os.listdir(folder):
@ryanmilakovich70012 жыл бұрын
I'm getting encode_faces() takes 0 positional arguments but 1 was given please help
@kokkiligaddasivasubramanya15783 жыл бұрын
Which platform you are using to write the code??
@Indently3 жыл бұрын
PyCharm
@pankajjoshi8292 Жыл бұрын
how to do this in a live webcam
@narotam43703 жыл бұрын
Provide source code man
@ganeshyandigeri16073 жыл бұрын
Thank you it's helps me lot.
@khondokarmd.mehedihasan5917 Жыл бұрын
Provide source code please
@synapsex2053 жыл бұрын
im having trouble to install face_recognition i have cmake and dlib but i get so many errors:(
@tomesantos83762 жыл бұрын
same
@unlimitediq18942 жыл бұрын
I got it working. I gotta find what I used to help u. It’s a matter of looking through my bookmarks.
@ramu69793 жыл бұрын
Can I get code for face recognition in cctv camera
@PowerDrive2892 жыл бұрын
you can change your videocapture source
@sahanasajjan98783 жыл бұрын
provide source code plzz
@LM3ALLEM_1ST2 жыл бұрын
from base64 import encode from venv import create import face_recognition as fr import cv2 as cv from tkinter import Tk from tkinter.filedialog import askopenfilename import os Tk().withdraw load_image = askopenfilename() target_image = fr.load_image_file(load_image) target_encoding = fr.face_encodings(target_image) def encode_faces(folder): list_people_encoding = [] for filename in os.listdir(folder): known_image = fr.load_image_file(f'{folder}{filename}') know_encoding = fr.face_encodings(known_image)[0] list_people_encoding.append((know_encoding, filename)) return list_people_encoding def find_target_face(): face_location = fr.face_locations(target_image) for person in encode_faces('people/'): encode_face = person[0] filename = person[1] is_target_face = fr.compare_faces(encode_face, target_encoding, tolerance = 0.55) print(f'{is_target_face}{filename}') if face_location: face_number = 0 for location in face_location: if is_target_face[face_number]: label = filename create_frame(location, label) face_number +=1 def create_frame(location, label): top, right, bottom, left = location cv.rectangle(target_image, (left,top), (right, bottom), (255, 0,0), 2) cv.rectangle(target_image, (left,bottom + 20), (right, bottom), (255, 0,0), cv.FILLED) cv.putText(target_image, label, (left + 3, bottom + 14), cv.FONT_HERSHEY_DUPLEX, 0.4, (255,255,255), 1) def render_image(): rgb_img = cv.cvtColor(target_image, cv.COLOR_BGR2BGRA) cv.imshow('Face Recognition', rgb_img) cv.waitKey(0) find_target_face() render_image()