Error while creating CSV for face recognition

asked 2015-04-22 01:28:10 -0600

updated 2015-04-22 06:19:00 -0600

Hi All,

I was trying to create a CSV as required by the OpenCV FaceRecognition. I have attached the error page of the console window. Am I running the script wrong? Any inputs on this will help a lot.

Execution: C:\fakepath\error_csv.png

Thanks in advance.

edit retag flag offensive close merge delete

Comments

looks like a python2.7 <--> python3 issue

  • hack it: put braces into the print statements, like: print( "hello", "world")
  • in the end, you need a simple text file with names and class-id's seperated by a semicolon. imho, you can do that without python . each line should look like: /path/to/img1;1/path/to/img2;3
berak gravatar imageberak ( 2015-04-22 01:43:00 -0600 )edit