Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax #267

Open
santle opened this issue Dec 21, 2017 · 1 comment
Open

SyntaxError: invalid syntax #267

santle opened this issue Dec 21, 2017 · 1 comment

Comments

@santle
Copy link

santle commented Dec 21, 2017

  • face_recognition version: latest (December 18, 2017 download)
  • Python version: 3.4.3+
  • Operating System: Ubuntu 15.10

When I use the command to take "known" face image folder and "unknown" face image folder as input to recognize the unknown faces, syntax errors appear. Other operations such as specific image file based recognition and webcam based recognition work normal.


import face_recognition
face_recognition ./test_images/known/ ./test_images/unknown/

show the following syntax error:

File "test_folder_faces.py", line 2
face_recognition ./test_images/known/ ./test_images/unknown/
^
SyntaxError: invalid syntax

@pavelholvi
Copy link

This doesn't look like valid Python syntax, I believe you need to run it via shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants