So for background knowledge I am doing a project consisting of an ESP32 with an ESP32 CAM to create a facial recognition system. (I am still very green with ESP and coding in general BUT I am determined to make this.) (Any suggestions are greatly appreciated)
I already tested my ESP32 with the WebServer code however now I am using the "Eloquent ESP" code "take picture" and am stuck on this serial message :
/**
* Get your first picture with ESP32
*
* Open the Serial Monitor and enter 'capture' (without quotes)
* to capture a new image
*
* BE SURE TO SET "TOOLS > CORE DEBUG LEVEL = INFO"
* to turn on debug messages
*/
#include <eloquent_esp32cam.h>
// all global objects (e.g. `camera`)
// are scoped under the `eloq` namespace
using eloq::camera;
/**
*
*/
void setup() {
delay(3000);
Serial.begin(115200);
Serial.println("___GET YOUR FIRST PICTURE___");
// camera settings
// replace with your own model!
// supported models:
// - aithinker
// - m5
// - m5_wide
// - m5_timer
// - eye
// - wrover
// - wroom_s3
// - freenove_s3
// - xiao
// - ttgo_lcd
// - simcam
camera.pinout.wroom_s3();
camera.brownout.disable();
// supported resolutions
// - yolo (96x96)
// - qqvga
// - qcif
// - face (240x240)
// - qvga
// - cif
// - hvga
// - vga
// - svga
// - xga
// - hd
// - sxga
// - uxga
// - fhd
// - qxga
// ...
camera.resolution.face();
// supported qualities:
// - low
// - high
// - best
camera.quality.low();
// init camera
while (!camera.begin().isOk())
Serial.println(camera.exception.toString());
Serial.println("Camera OK");
Serial.println("Enter 'capture' (without quotes) to shot");
}
/**
*
*/
void loop() {
// await for Serial command
if (!Serial.available())
return;
if (Serial.readStringUntil('\n') != "capture") {
Serial.println("I only understand 'capture'");
return;
}
// capture picture
if (!camera.capture().isOk()) {
Serial.println(camera.exception.toString());
return;
}
// print image info
Serial.printf(
"JPEG size in bytes: %d. Width: %dpx. Height: %dpx.\n",
camera.getSizeInBytes(),
camera.resolution.getWidth(),
camera.resolution.getHeight()
);
Serial.println("Enter 'capture' (without quotes) to shot");
}
.
.
In return I upload code successfully. Then I open the Serial Monitor and am faced with this message:
"
mode:DIO, clock div:1
load:0x3fce2820,len:0x1188
load:0x403c8700,len:0x4
load:0x403c8704,len:0xbf0
load:0x403cb700,len:0x30e4
entry 0x403c88ac
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0))
waiting for download
"
.
.
The message ends there, any suggestions that could help?
I already set this: TOOLS > CORE DEBUG LEVEL = INFO
and BAUD rate is set the same (115200)
I am wondering whether I need to pull down or up a GPIO pin for the code to work however I am not sure how to that. I will be researching how in the mean time.
All suggestions are welcome!!!!
![]()