Save the detected face with ID
I want to develop a database of face image detected by camera. When camera detect a face, system will ask user to key in the person identity and save it in the database. Which means, my database consists of an image and ID. Or maybe it can contain a directory to where an image is save. It is an online enrolment. The data later on will be proceed for other purpose. So, I need a flexible database where I can update the data and call it back. But the thing is I don't know which medium is proper for me to use. I'd read about SQLite and CSV. But maybe there is other medium that can suits better.
Any idea on how to achieve this?
are you trying to collect train data for a face-recognition later ?
Ya, true sir.
store the images on disk, filenames and id's in a csv file. it's easy to convert/load this into any rdbm like sqlite.
storing train images in a db is imho a bad idea, since you always need all of them to train.
if you're doing face-recognition, it is the serialized classifier from the training, that you want to save for later prediction. this might be totally different data, you might not even need the original images in the prediction phase (only say, a thumbnail per person)