Esp32 cam face recognition and detection

hey everyone, Im trying to use an arduino and esp32 cam for a project idea.

I need to trigger a speaker and say the person name when the face is recognized and detected pre saved images in esp32 sd card.

I don't need any of the esp32cam server capabilities I just need it to identify faces and trigger the speaker.

how can I do that ?

You will need a voice synthesis library or module, audio amplifier and speaker. An internet search will turn up several possibilities.

I was going to register my voice saying the names and then save the voice in sd card reader and when there's a match in image it will trigger the arduino to play the voice note using a speaker

I intend to make it as simple as possible
and I have done my research and could't find something address this particular problem

Obviously not.

There are plenty of voice synthesis projects out there, as well as modules that can say prerecorded phrases stored on an SD card.

Time to do your homework!

I have deleted your other cross-post @samhaw_we.

Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting can result in a suspension from the forum.

In the future, please only create one topic for each distinct subject matter. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

there are many article and resource about how to use esp32 cam but most of them are using the web server services and that's not what I want

I want it to be able to only detect the face and if it recognized (from pre saved images on the SD card) it trigger the arduino to tell the speaker to say the name.

there was nothing like that and even if it was something similar it doesn't cover the full aspect that I want

if you know a link that can help me you're more than welcome to share with me

I will appreciate

Start with that example code and remove the web server interface. Confirm you can detect / identify faces, then add the audio support.

2 Likes

It is extremely unlikely that someone has done and posted exactly your project.

You are expected to do your own work, especially for a University project.

1 Like

if you know good recourse I can use or you can tell where I can go please share it
and I will do the work
thank you

As I said, start with the source code for the existing ESP32-CAM example that includes face detection / recognition. You need to understand how that works. Then remove the web interface. Why do you think there's a better / easier way than that?

1 Like

This might get you started.

1 Like

Sure. Once you have removed the web server code from the ESP32 Face Recognition example, and have that working as suggested by @gfvalvo, do a web search using the phrase "esp32 voice synthesis" to find helpful tutorials on adding the speech output.

thank you for your help and it really useful thing to me but my message was for the other user who commented

I wanted to say share what you know and help people find a good way to start
instead of telling people go and look or you can find the answer somewhere else
if a person has something useful share it just like you did @gfvalvo so I really appreciate

thank you so much

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.