You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ But expanded with:
13
13
* Over The Air firmware updates
14
14
* Lots of minor fixes and tweaks, documentation etc.
15
15
16
-
And 'reduced' by removing the Face Recognition features
16
+
And 'reduced' by removing the Face Recognition features
17
17
***If you want to try the Face Recognition features** please use the [`3.x` maintenance branch](https://github.com/easytarget/esp32-cam-webserver/tree/3.x), which still recieves bugfixes, but is not receiving any further development.
18
18
* They were a demo, only worked in low resolution modes, did not preserve the face database between power cycles, and were of little use in real-world applications.
19
19
* There are other (specialised) sketches for the ESP-CAM that do use face recognitioni more effectively, if this is your thing :-)
@@ -33,7 +33,7 @@ I have four [AI-THINKER ESP32-CAM](https://github.com/raphaelbs/esp32-cam-ai-thi
33
33
https://github.com/raphaelbs/esp32-cam-ai-thinker
34
34
* The AI thinker wiki can be quite informative, when run through an online translator and read sensibly:
35
35
https://wiki.ai-thinker.com/esp32-cam
36
-
* Default pinouts are also included for WRover Kit, ESP Eye and M5Stack esp32 camera modules.
36
+
* Default pinouts are also included for WRover Kit, ESP Eye and M5Stack esp32 camera modules.
37
37
I do not have any of these boards, so they are untested by me. Please [let me know](https://github.com/easytarget/esp32-cam-webserver/issues) if you find issues or have a board not [in the list](./camera_pins.h).
38
38
39
39
## Troubleshooting:
@@ -74,7 +74,7 @@ Is pretty simple, You just need jumper wires, no soldering really required, see
74
74
Download the latest release of the sketch from https://github.com/easytarget/esp32-cam-webserver/releases/latest
75
75
- You can get the latest stable development release by cloning / downloading the `master` branch of the repo.
76
76
77
-
This will give you an archive file with the Version number in it, eg.`esp32-cam-webserver-3.0.zip`. Tou need to unpack this into your Arduino sketch folder, and then you need to rename the folder you just extracted to remove the version number, eg.`esp32-cam-webserver-3.0` becomes `esp32-cam-webserver`.
77
+
This will give you an archive file with the Version number in it, eg.`esp32-cam-webserver-3.0.zip`. Tou need to unpack this into your Arduino sketch folder, and then you need to rename the folder you just extracted to remove the version number, eg.`esp32-cam-webserver-3.0` becomes `esp32-cam-webserver`.
78
78
79
79
Once you have done that you can open the sketch in the IDE by going to the `esp32-cam-webserver` sketch folder and selecting `esp32-cam-webserver.ino`.
80
80
@@ -84,7 +84,7 @@ By default the sketch assumes you have an AI-THINKER board, it creates an Access
84
84
85
85
To make a permanent config with your home wifi settings, different defaults or a different board; copy (or rename) the file `myconfig.sample.h` in the sketch folder to `myconfig.h` and edit that, all the usable defaults are in that file. Because this is your private copy of the config it will not get overwritten if you update the main sketch!
86
86
87
-
### Programming
87
+
### Programming
88
88
89
89
Assuming you are using the latest Espressif Arduino core the `ESP32 Dev Module` board will appear in the ESP32 Arduino section of the boards list. Select this (do not use the `AI-THINKER` entry listed in the boiards menu, it is not OTA compatible, and will caus the module to crash and reboot rather than updating if you use it.
90
90

@@ -107,7 +107,7 @@ Go to the URL given in the serial output, the web UI should appear with the sett
107
107
108
108
The WiFi details can be stored in an (optional) header file to allow easier code development, and a camera name for the UI title can be configured. The lamp and status LED's are optional, and the lamp uses a exponential scale for brightness so that the control has some finess.
109
109
110
-
All of the face recognition code has been removed as of V4.0; this reduces the code size enough to allow OTA programming while improving compile and programming times.
110
+
All of the face recognition code has been removed as of V4.0; this reduces the code size enough to allow OTA programming while improving compile and programming times.
111
111
112
112
The compressed and binary encoded HTML used in the example has been unpacked to raw text, this makes it much easier to access and modify the Javascript and UI elements. Given the relatively small size of the index page there is very little benefit from compressing it.
113
113
@@ -141,17 +141,16 @@ Contributions are welcome; please see the [Contribution guidelines](CONTRIBUTING
141
141
142
142
Time allowing; my Current plan is:
143
143
144
-
V4
144
+
V4
145
145
* Remove face recognition entirely;
146
146
***Done**, see the `NoFace` branch :sunglasses:
147
147
* Not optional, this is a code and maintenance nightmare. V3 can be maintained on a branch for those who need it.
148
148
* Investigate using SD card to capture images
149
149
* Implement OTA and a better network stack for remembering multiple AP's, auto-config etc.
150
150
***Basic OTA is Done**, see the `NoFace` branch.
151
151
* Advanced (web upload) OTA might be nice to have if possible
152
-
* For the Network setup I want to implement https://github.com/Hieromon/AutoConnect
152
+
* For the Network setup I want to implement https://github.com/Hieromon/AutoConnect
153
153
* UI Skinning/Theming
154
154
* OSD
155
155
* Temperature/humidity/pressure sensor support (bme20,dht11)
156
156
You can check the [enhancement list](https://github.com/easytarget/esp32-cam-webserver/issues?q=is%3Aissue+label%3Aenhancement) (past and present), and add any thoughts you may have there.
Serial.println("No wifi details have been configured; we cannot connect to existing WiFi or start our own AccessPoint, there is no point in proceeding.");
498
-
delay(5000);
499
+
delay(5000);
499
500
}
500
501
}
501
502
@@ -504,7 +505,7 @@ void setup() {
504
505
digitalWrite(LED_PIN, LED_ON);
505
506
#endif
506
507
507
-
// Create camera config structure; and populate with hardware and other defaults
508
+
// Create camera config structure; and populate with hardware and other defaults
508
509
camera_config_t config;
509
510
config.ledc_channel = LEDC_CHANNEL_0;
510
511
config.ledc_timer = LEDC_TIMER_0;
@@ -560,7 +561,7 @@ void setup() {
560
561
critERR += "<p>We will continue to reboot once per minute since this error sometimes clears automatically.</p>";
561
562
// Start a 60 second watchdog timer
562
563
esp_task_wdt_init(60,true);
563
-
esp_task_wdt_add(NULL);
564
+
esp_task_wdt_add(NULL);
564
565
} else {
565
566
Serial.println("Camera init succeeded");
566
567
@@ -607,7 +608,7 @@ void setup() {
607
608
/*
608
609
* Add any other defaults you want to apply at startup here:
609
610
* uncomment the line and set the value as desired (see the comments)
0 commit comments