ageitgey / face_recognition

The world's simplest facial recognition api for Python and the command line
MIT License
52.98k stars 13.45k forks source link

How to save face encoding in sqlite3 database? #1021

Open haiderAli62 opened 4 years ago

haiderAli62 commented 4 years ago

Description

I am saving my face_recognition encodings in a pickle file but I want to save these face_encodings in a sqlite3 database. I don't have idea how I can do that.

alessiosavi commented 4 years ago

This is not an issue related to the library itself. You can move saving the data from pickle as a BLOB data, or dumping the JSON related to the embeddings and then saving as a string into sqlite.