Face Recognition in Python Tutorial 2021 (Recognise and label multiple faces)

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 37

  • @RockstarGamer4531
    @RockstarGamer4531 3 года назад +2

    Please make a video on facial expression recognition

  • @benjaminthiery5080
    @benjaminthiery5080 3 года назад +3

    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

  • @geniuszambia9929
    @geniuszambia9929 3 года назад +3

    Thanks for the video.

  • @paaccpraveen
    @paaccpraveen Год назад +1

    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

    • @bicyclebicycle6413
      @bicyclebicycle6413 11 месяцев назад +1

      Same error

    • @bicyclebicycle6413
      @bicyclebicycle6413 11 месяцев назад +1

      Getting in create_frame
      top, right, bottom, left = location
      ValueError : too many values to unpack (expected 4)

  • @ourfactualvision
    @ourfactualvision 10 месяцев назад

    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?

  • @Chumma2-x2i
    @Chumma2-x2i Год назад

    can we do this in real time video?

  • @sreeharshar3652
    @sreeharshar3652 3 года назад +5

    Can you send de GitHub link

  • @mouadamaroua5618
    @mouadamaroua5618 Год назад +2

    The dataset please sir

  • @khaledwaled938
    @khaledwaled938 5 месяцев назад

    how can i get the code ?

  • @udaykiran5602
    @udaykiran5602 2 года назад

    Please a make a video installation of face-recognition package

  • @ganeshyandigeri1607
    @ganeshyandigeri1607 3 года назад +1

    Thank you it's helps me lot.

  • @uzian9549
    @uzian9549 2 года назад

    why do i have an error on for statement in for filename in os.listdir(folder):

  • @kokkiligaddasivasubramanya1578
    @kokkiligaddasivasubramanya1578 3 года назад

    Which platform you are using to write the code??

  • @tanmayrathod305
    @tanmayrathod305 3 года назад

    Can you show how to make facial recognition model using yolo?

  • @ryanmilakovich7001
    @ryanmilakovich7001 2 года назад

    I'm getting encode_faces() takes 0 positional arguments but 1 was given please help

  • @pankajjoshi8292
    @pankajjoshi8292 Год назад

    how to do this in a live webcam

  • @rizall7254
    @rizall7254 3 года назад +1

    🔥

  • @narotam4370
    @narotam4370 3 года назад +2

    Provide source code man

  • @khondokarmd.mehedihasan5917
    @khondokarmd.mehedihasan5917 Год назад +1

    Provide source code please

  • @synapsex205
    @synapsex205 3 года назад

    im having trouble to install face_recognition i have cmake and dlib but i get so many errors:(

    • @tomesantos8376
      @tomesantos8376 2 года назад

      same

    • @unlimitediq1894
      @unlimitediq1894 2 года назад

      I got it working. I gotta find what I used to help u. It’s a matter of looking through my bookmarks.

  • @ramu6979
    @ramu6979 3 года назад

    Can I get code for face recognition in cctv camera

    • @PowerDrive289
      @PowerDrive289 2 года назад

      you can change your videocapture source

  • @sahanasajjan9878
    @sahanasajjan9878 3 года назад +2

    provide source code plzz

    • @LM3ALLEM_1ST
      @LM3ALLEM_1ST 2 года назад

      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()

  • @christymariajoseph2263
    @christymariajoseph2263 2 года назад

    what algorithm are you using here ?

    • @Indently
      @Indently  2 года назад

      face_recognition

  • @esaamshrara9076
    @esaamshrara9076 2 года назад

    source code

  • @Enlighten3
    @Enlighten3 3 года назад +1

    When I grow up I wanna be Donald Trump😌

  • @tewodrosabitie9646
    @tewodrosabitie9646 Год назад +1

    how i can get the source code ?
    please