esp-who/examples/single_chip/camera_web_server
Bond Keevil 1169211177 Feature: Control a LED Illuminator or Flash from Camera_Web_Server Web Page (#104)
* Feature: Control a LED Illuminator or Flash from Camera_Web_Server

Add a "LED Illuminator" menu to menuconfig
Through menuconfig you can select a LEDC pin, LEDC Timer, LEDC Channel, and LEDC Speed Mode
The defaults work for the AIThinker ESPCAM-32 board
There is an option to limit LED intensity while streaming to prevent overheating
LED intensity is not limited when taking a still image photo
The LED intensity controls are hidden on the web page if the LED feature is not enabled
LED intensity can be adjusted while streaming and the LED will respond right away

Tested on an ESPCAM-32 board with an OV2460 sensor

* app_httpd.c: move isStreaming into macro

* app_httpd.c: Change commit re: 150ms LED delay
2019-10-25 16:24:21 +08:00
..
main Feature: Control a LED Illuminator or Flash from Camera_Web_Server Web Page (#104) 2019-10-25 16:24:21 +08:00
CMakeLists.txt add cmake 2019-04-01 20:23:29 +08:00
Makefile Add Camera Web Server Example 2018-11-29 11:23:06 +01:00
README.md update docu 2019-06-04 15:34:25 +08:00
partitions.csv bb800f9a update esp-face add frmn models 2019-06-19 14:26:58 +08:00
sdkconfig.defaults Feature/http recog 2018-12-29 18:02:22 +08:00

README.md

Camera with Web Server

Preparation

To run this example, you need the following components:

  • An ESP32 Module: Either ESP32-WROVER-KIT or ESP-EYE, which we highly recommend for beginners, is used in this example.
  • A Camera Module: Either OV2640 or OV3660 image sensor, which we highly recommend for beginners, is used in this example.

Quick Start

After you've completed the hardware settings, please follow the steps below:

  1. Connect the camera to ESP32 module. For connection pins, please see here
  2. Configure the example through idf.py menuconfig;
  3. Build And Flash the application to ESP32;
  4. Open Your Browser and point it to http://[ip-of-esp32]/;
  5. To Get Image press Get Still or Start Stream;
  6. Use The Options to enable/disable Face Detection, Face Recognition and more;

For more details of the http handler, please refer to esp32-camera.