Ask Your Question
0

CSV file creation error in face recognition

asked 2016-07-12 04:35:52 -0600

Akash Garg gravatar image

I am trying face recognition program in opencv as per the instructions given on docs.opencv.org. I have downloaded the training sample database, however I am unable to create the csv file. I am trying with the following command in the cmd * python create_csv.py c:\att > faces.csv * In faces.csv no filenames & labels are created, what i get there is just *uasage: create_csv<base_path> * Please help Thanks in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-07-15 05:50:54 -0600

Akash Garg gravatar image

The problem was that the base path i entered in cmd was C:\Users\akash garg\Documents\Visual Studio 2012, therefore argv[1] contains only C:\Users\akash that much part. Due to this the base path is wrongly stored. To enter the path as a single unit i have to put it in inverted comas.

edit flag offensive delete link more

Comments

please avoid spaces in filenames in general. you will encounter the same problem from filenames within your csv file

berak gravatar imageberak ( 2016-07-15 06:17:08 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-07-12 04:35:52 -0600

Seen: 204 times

Last updated: Jul 15 '16