0

I have collected image path from database and stored it in a variable but when i am trying to read that in face_recognition.load_image_file() , I am getting error

image_path = 'filepath\..\img.jpg' # in str format
face_recognition.load_image_file(image_path)

By implementing above code getting error as below: OSError: [Errno 22] Invalid argument: 'filepath....\img.jpg'

Wiktor Stribiżew
  • 607,720
  • 39
  • 448
  • 563

0 Answers0