First time here? Check out the FAQ!

Ask Your Question
0

CSV file creation error in face recognition

asked Jul 12 '16

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

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Jul 15 '16

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.

Preview: (hide)

Comments

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

berak gravatar imageberak (Jul 15 '16)edit

Question Tools

1 follower

Stats

Asked: Jul 12 '16

Seen: 208 times

Last updated: Jul 15 '16