B4R Question esp32 with a camera

Cesar_Morisco

Active Member
hey guys
All good
I bought an esp32 with a camera to do some tests here.
Using the Arduino IDE I can compile it correctly and it works well.
I can't compile in B4R It's giving an error
Can anyone tell me what is going on I would appreciate it

B4R:
\Cesar\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\libraries\\WiFi\\src" "-IC:\\Users\\Cesar\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\libraries\\WiFiClientSecure\\src" "C:\\Users\\Cesar\\Desktop\\ESP32_~1\\ESP32C~1\\Objects\\bin\\sketch\\b4r_esp32cam.cpp" -o nul
Alternatives for fd_forward.h: []
ResolveLibrary(fd_forward.h)
  -> candidates: []
b4r_esp32cam.cpp:25:10: fatal error: fd_forward.h: No such file or directory
 #include "fd_forward.h"
          ^~~~~~~~~~~~~~
compilation terminated.
Foram encontradas múltiplas bibliotecas para "WiFi.h"
Usado: C:\Users\Cesar\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\WiFi
Não usado: C:\Users\Cesar\Documents\Arduino\libraries\WiFiEspAT
Não usado: C:\arduino-1.8.19\libraries\WiFi
exit status 1
exit status 1
 

Attachments

  • Sem título.jpg
    Sem título.jpg
    299.8 KB · Views: 102

Cesar_Morisco

Active Member
Hello everyone
About errors when compiling
I have no idea what these files are?
If you remove 02 two it compiles normally but the camera does not appear on the IP and this message "use /live to get the live stream or /pic for a picture capture "
thanks for the h

B4R:
#include "img_converters.h"
//#include "Arduino.h"
#include "fb_gfx.h"
//#include "fd_forward.h"
//#include "fr_forward.h"
#include "FS.h"                // SD Card ESP32
#include "SD_MMC.h"            // SD Card ESP32
#include "soc/soc.h"           // Disable brownour problems
#include "soc/rtc_cntl_reg.h"  // Disable brownour problems
#include "driver/rtc_io.h"
#include <EEPROM.h>            // read and write from flash memory
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
Hi Cesar:

Have you seen this post?

 
Upvote 0

Cesar_Morisco

Active Member
Hello everything is fine
Yes
I've done the readings a few times.
I can't get a compilation to always give these 2 errors. Thank you from the bottom of my heart, I'll read it ++++
 
Upvote 0

Cesar_Morisco

Active Member
About the two error files
It doesn't matter much
It works without them
B4R:
#include "fd_forward.h"
#include "fr_forward.h"

About the color problem in my case it was black and white
B4X:
 //s->set_pixformat(s,PIXFORMAT_GRAYSCALE); //FIXME - couldn't get grayscale mode to work, missing some other config option
  s->set_special_effect(s, 0); //gray scale  It was 1 mode to 0
Thanks
 
Upvote 0

KiloBravo

Active Member
Licensed User
FYI,
I was curious what these files were for and did a little research on the internet.

#include "fd_forward.h" is for Face Detection
#include "fr_forward.h" is for Face Recognition

Apparently, you are supposed to be able to save a Face and the Camera can recognize that specific Face.
Also, from what I read it did not work.
 
Upvote 0

Cesar_Morisco

Active Member
FYI,
I was curious what these files were for and did a little research on the internet.

#include "fd_forward.h" is for Face Detection
#include "fr_forward.h" is for Face Recognition

Apparently, you are supposed to be able to save a Face and the Camera can recognize that specific Face.
Also, from what I read it did not work.
Hello KiloBravo
All good
So that's what it's for, I didn't know
I'll be happy if he can take some photos and save it on the card
Thank you for your response
 
Upvote 0

KiloBravo

Active Member
Licensed User
I played with the esp32 camera modules back in 2022 as well. I did not use B4R or an SD card. But you may find my comments helpful.
 
Upvote 0
Top