Skip to content

CameraWebServer example no log output for Face Detection on ESP32 Cam #5878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TokenThinker opened this issue Nov 11, 2021 · 10 comments
Closed
Labels
Status: To be implemented Selected for Development

Comments

@TokenThinker
Copy link

TokenThinker commented Nov 11, 2021

Hardware: ESP32 Cam

Board: ESP32 Wover Module
Core Installation version: 2.01
IDE name: Arduino IDE
Flash Frequency: 80Mhz
PSRAM enabled: yes
Upload Speed: 115200
Computer OS: Mac OSX

Description:

Using the example "CameraWebServer" sketch no logs are appearing to see if Face Detection is working or not

Debug Messages:

WiFi connected
Camera Ready! Use 'http://192.168.1.234' to connect

@TokenThinker TokenThinker changed the title CameraWebServer Example No CameraWebServer example no Log Output Nov 11, 2021
@TokenThinker TokenThinker changed the title CameraWebServer example no Log Output CameraWebServer example no log output for Face Detection on ESP32 Cam Nov 11, 2021
@TokenThinker
Copy link
Author

I think the "fd_forward.h" and "fr_forward.h" aren't being found, when trying to include them

example_sketch_fd:7:10: fatal error: fd_forward.h: No such file or directory
 #include "fd_forward.h"
          ^~~~~~~~~~~~~~
compilation terminated.
exit status 1
fd_forward.h: No such file or directory

@Jason2866
Copy link
Collaborator

Correct since face defection is not included in the core 2.0.1 build

@TokenThinker
Copy link
Author

@Jason2866 is there a plan to implement it or is it gone for good? If so what does that timeline look like?

CameraWebServer example

#if CONFIG_ESP_FACE_DETECT_ENABLED

#include "fd_forward.h"

#if CONFIG_ESP_FACE_RECOGNITION_ENABLED
#include "fr_forward.h"

@Jason2866
Copy link
Collaborator

This is a question for the maintainers. I just do a modified Arduino framework for Project Tasmota with the https://github.com/espressif/esp32-arduino-lib-builder and noticed in this process that there is no more a compatible Face Detection version for IDF4.4 It is replaced by https://github.com/espressif/esp-dl which is not implemented in Arduino at the moment.
@me-no-dev Are there plans for?

@me-no-dev
Copy link
Member

@Jason2866 I also recently noticed this. Surely will take a look at it and fix it at some point :)

@TokenThinker
Copy link
Author

@me-no-dev - You are amazing! If you can let me know as I am building PoC based of example code and parts. Was shocked when it stopped working.

I guess for now I can downgrade to re-enable functionality?

@Jason2866 - Thank you for the info.

@chepo92
Copy link

chepo92 commented Dec 21, 2021

Sorry to revive this thread, I tried v2.0.1 and added #define CONFIG_ESP_FACE_DETECT_ENABLED 1 to app_httpd.cpp, face detection works but it has no output in serial monitor, also, what does face recognition do? I press enroll face when a face is detected with a rectangle but I think it does nothing to enroll it.
Edit: similarly to face detect I had to enable face recognition :D #define CONFIG_ESP_FACE_RECOGNITION_ENABLED 1 it works!

@Jason2866
Copy link
Collaborator

@chepo92 You have not used core v2.0.1 in this case, there is no fd_forward.h and fr_forward.h in core 2.0.x

@chepo92
Copy link

chepo92 commented Dec 21, 2021

@chepo92 You have not used core v2.0.1 in this case, there is no fd_forward.h and fr_forward.h in core 2.0.x

You were right, i checked pio output and it is using framework-arduinoespressif32 3.10006.210326 (1.0.6)

@Token-Thinker
Copy link

Token-Thinker commented Jul 19, 2023

hey doubling back on this topic seeing if there is a way i can get involved to help. I would really like to see this feature or something similar in the newer version or a submodule for it. let me know how i can get involved.


think i found a solution in ---> https://github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/Camera/CameraWebServer/app_httpd.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: To be implemented Selected for Development
Projects
None yet
Development

No branches or pull requests

6 participants