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
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.
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
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?
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