problem when running the code for face recognition for the webcam

Open
#312 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start with facerec_from_webcam_faster.py at the face_recognition.face_locations(rgb_small_frame) call and reproduce the error using the reported Python commands. Check why face_locations is a list rather than callable with face_recognition v0.1.12 on the stated Python and macOS versions. Done means the webcam example runs without this TypeError.

Written by the indexing model from the issue text.

Description

  • face_recognition version:v0.1.12
  • Python version:3.6.2
  • Operating System:mac oserria v 10.12.6
Description

I am getting a problem when running the code for face recognition for the webcam

What I Di:

I tried both of these commands :
python3 facerec_from_webcam_faster.py
python facerec_from_webcam_faster.py

and I keep getting this error: 
 face_locations = face_recognition.face_locations(rgb_small_frame)
TypeError: 'list' object is not callable
Dominant language
Python
Stars
56.8k
Forks
13.7k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ageitgey/face_recognition

All issues in ageitgey/face_recognition

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.