Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gob52/m5stackcores3_camerawebserver
Porting of espressif/arduino-esp32 example to M5Stack CoreS3 (GC0308)
https://github.com/gob52/m5stackcores3_camerawebserver
camera gc0308 m5stack-cores3
Last synced: about 1 month ago
JSON representation
Porting of espressif/arduino-esp32 example to M5Stack CoreS3 (GC0308)
- Host: GitHub
- URL: https://github.com/gob52/m5stackcores3_camerawebserver
- Owner: GOB52
- License: lgpl-2.1
- Created: 2023-05-17T04:07:55.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-30T15:15:03.000Z (about 1 year ago)
- Last Synced: 2023-11-30T16:29:57.449Z (about 1 year ago)
- Topics: camera, gc0308, m5stack-cores3
- Language: C++
- Homepage:
- Size: 173 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
README
# M5StackCoreS3_CameraWebServer
[日本語](README.md)
## Overview
Porting of [espressif/arduino-esp32](https://github.com/espressif/arduino-esp32) example [CameraWebServer](https://github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/Camera/CameraWebServer) to M5Stack CoreS3 (GC0308).
Access CoreS3 from a browser via WiFi to control the camera and receive streaming.
It can also perform QR recognition.## Required
* [M5Unified](https://github.com/m5stack/M5Unified)
* [esp32-camera](https://github.com/espressif/esp32-camera/tree/master)
However, If you set platform = espressif32 and framework = arduino in platformio, esp32-camera is included in the package, so you do not need to specify esp32-camera in lib_deps.
* [gob_GC0308](https://github.com/GOB52/gob_GC0308)
* WiFi connection available## Build type
|Env|Description|
|---|---|
|release|Basic settings and QR recognition|
|release_face|Support face detection and recognition|## How to use
Once executed, the IP address will be displayed on the screen and on the serial monitor.
(This is an example, so the actual IP will vary depending on the environment.)
```
setup(): Camera ready use: http;//192.168.1.20 to connect
```
Access that IP address from your browser.### When WiFi connection fails
The connection is made as follows,
assuming that CoreS3 has the SSID / Password of the already connected it stored.
```cpp
// main.cpp
WiFi.begin(); // Connects to credential stored in the hardware.
```
Please save the credential in some way or rewrite the source.
```cpp
// main.cpp
WiFi.begin("Your SSID", "Your password");
```## Browser screen description
### Basic settings
* Resolution
The currently set camera resolution is displayed. The resolution cannot be changed.
* Contrast
Change the contrast.
* Saturation
Change the saturation.
* Special Effect
Change the special effect.|Menu|Description|
|---|---|
|NoEffect|No effect|
|Negative|Negative effect|
|Grayscale|Grayscale effect|
|RedTint|Red tint effect|
|GreenTint|Green tint effect|
|BlueTint|Blue tint effect|
|Sepia|Sepia effect|* WB Mode
Change the white balance.|Menu|Description|
|---|---|
|Auto|Automatic|
|Sunny|Sunny|
|Cloudy|Cloudy|
|Office|Fluorescent light|
|Home|Light bulb|* Gain
Change the gain.
* H-Mirror
Changes the horizontal image inversion.
* V-Flip
Changes the vertical image inversion.
* Color Bar
Color bar display ON/OFF.* Face Detection
Face detection ON/OFF
* Face Recognition
Face Recognition ON/OFF
**Note: Face recognition is a very heavy process.*** Get Still
Obtains a still image.
* Start/Stop Stream
Start/Stop receiving stream.
* Enroll Face
Enroll the face on the camera.
Once enrolled, the face will no longer be treated as an intruder (red frame) if Face Recogintion is ON.
* Start/Stop Scan QR
Start/Stop recognize QR code.* Save
Download incoming images.
* X
Stop receiving stream.### Advanced settings
* Register Get/Set
The values can be set and retrieved for the camera registers.
Refer to data sheets and other sources for register and function information.
**Caution** Be careful not to set inappropriate values to inappropriate registers.## Changes from the original
* The application is now dedicated to M5Stack CoreS3.
* M5Unified base to work.
* Modified html for GC0308.
* Functions not present in GC0308 were omitted.
* Add QR code recognition.