How would I go about Saving of a Trained Model of a Person's Set of Face Images to an SQL RDBMs Database?
I would like to know the best way of saving the face images of a person to an SQL database after training a model of the person's face images.
Would it be OK to serialize the person_images.yml file and save it as field value in a SQL relation or is there a way I can get it as a string, byte array and save it to SQL relation in a RDBMs database?
I am using OpenCv with Java and this is the function I am looking at FaceRecognizer.save("person_images.yml") to FaceRecognizer.save("how_can_I save_this_to_SQL_Database?")
hmm, could you clarify, which java wrapper api you're using here ?
Hi berak, I am using javacv from javacv-0.11 binary bundles.Is that what you were inquiring about?
yes, exactly. because now this means, that you're using a unsupported 3rd party api, which is unfortunately totally different and incompatible to opencv's own .
Both opencv and javacv save to a file. I know with javacv I am on my own unlike if I was using opencv where there's adequate support and documentation. I think I figured out how to go about it. I just need some little time to accomplish it then I share it here for anyone else looking for the same to freely use it.