ESP32-CAM Facial Detection / Recognition
Posted: Thu Apr 14, 2022 12:10 am
Hey all:
I thought I'd start learning about ESP32-CAM for an upcoming project. So, I got an AI-Thinker (with PSRAM) - http://www.diymalls.com/ESP32-CAM-Devel ... =esp32-cam
and an external antenna.
The CameraWEbServer example compiled and downloaded without issue and worked right out of the box. Well, ALMOST. Streaming video to the browser client worked great. I think it's quite impressive. I poked around a little in the code and saw that esp_camera.h provides some very sophisticated APIs and it will take me quite awhile to learn them ... I got time.
I said it ALMOST worked right out of the box. What didn't work was Facial Detection / Recognition. Nothing happened after enabling those on the Web page. I didn't get the little rectangles around faces as shown in countless YouTube videos.
Looking in app_httpd.cpp, I see a lot of conditionally-compiled code that depends on the macro 'CONFIG_ESP_FACE_DETECT_ENABLED' begin defined. So, I naively defined it and tried to compile again. Now there were complaints that the file "fd_forward.h" couldn't be found.
I have ESP32 cores v2.0.1 and v2.0.2 installed and the file "fd_forward.h" does not exist anywhere in those.
So, finally, the question .... does anyone know of a combination of ESP32 core version and board type selection (and perhaps Aduino IDE version) that has Facial Detection / Recognition working with the built-in CameraWEbServer example?
Thanks.
PS - FYI, I also posted this questions here: https://forum.arduino.cc/t/esp32-cam-fa ... ion/980773
I thought I'd start learning about ESP32-CAM for an upcoming project. So, I got an AI-Thinker (with PSRAM) - http://www.diymalls.com/ESP32-CAM-Devel ... =esp32-cam
and an external antenna.
The CameraWEbServer example compiled and downloaded without issue and worked right out of the box. Well, ALMOST. Streaming video to the browser client worked great. I think it's quite impressive. I poked around a little in the code and saw that esp_camera.h provides some very sophisticated APIs and it will take me quite awhile to learn them ... I got time.
I said it ALMOST worked right out of the box. What didn't work was Facial Detection / Recognition. Nothing happened after enabling those on the Web page. I didn't get the little rectangles around faces as shown in countless YouTube videos.
Looking in app_httpd.cpp, I see a lot of conditionally-compiled code that depends on the macro 'CONFIG_ESP_FACE_DETECT_ENABLED' begin defined. So, I naively defined it and tried to compile again. Now there were complaints that the file "fd_forward.h" couldn't be found.
I have ESP32 cores v2.0.1 and v2.0.2 installed and the file "fd_forward.h" does not exist anywhere in those.
So, finally, the question .... does anyone know of a combination of ESP32 core version and board type selection (and perhaps Aduino IDE version) that has Facial Detection / Recognition working with the built-in CameraWEbServer example?
Thanks.
PS - FYI, I also posted this questions here: https://forum.arduino.cc/t/esp32-cam-fa ... ion/980773