Page 1 of 1

Face detection enrollment in a persistant storage

Posted: Thu Feb 07, 2019 10:39 am
by fasani
Hello there,
I started fiddling around with the Esp-who repository and compiled this in a "TTGO T-Camera ESP32 Wrover2" board and it works very well.

So I though about extending the examples in some real life-device, like for example, enrolling faces with a name in a persistant storage.
And do something when the detection fires, that is the easy part, now my first question is:

[*] What will be the best strategy to enroll faces in a persistant way ? Like for example a PSRAM with external power.

Something that will let us not loose all the faces in case of power shutdown. Would that be feasible ?
Storing in SPIFFS will be a no-go, since it's slow to read right ? Or it could be possible to store the enrolled faces there and load them into PSRAM on the boot process ?
If I manage to achieve that I would love to make a demo with something like Face recognition + Code to open a door.
Or anything in this direction. I want to do a real-world app with this, that recognize people and takes action on something.

Re: Face detection enrollment in a persistant storage

Posted: Tue Feb 12, 2019 11:34 am
by ESP_GXC
Hi,
One solution is to store the face id in flash :
https://github.com/espressif/esp-face/b ... fr_flash.c