mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
Merge pull request #13544 from Jason2866/facedetect
Disable Face Detection for Webcam with Core 2.0.x
This commit is contained in:
commit
77e0ed68e9
@ -81,8 +81,17 @@
|
|||||||
#include "esp_camera.h"
|
#include "esp_camera.h"
|
||||||
#include "sensor.h"
|
#include "sensor.h"
|
||||||
#include "fb_gfx.h"
|
#include "fb_gfx.h"
|
||||||
|
|
||||||
|
#ifdef USE_FACE_DETECT
|
||||||
|
#if ESP_IDF_VERSION <= ESP_IDF_VERSION_VAL(4, 0, 0)
|
||||||
#include "fd_forward.h"
|
#include "fd_forward.h"
|
||||||
#include "fr_forward.h"
|
#include "fr_forward.h"
|
||||||
|
// #pragma message("Face detection enabled")
|
||||||
|
#else
|
||||||
|
#pragma message("Face detection not supported from Tasmota with Arduino Core 2.0.x. Disabling")
|
||||||
|
#undef USE_FACE_DETECT
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
bool HttpCheckPriviledgedAccess(bool);
|
bool HttpCheckPriviledgedAccess(bool);
|
||||||
extern ESP8266WebServer *Webserver;
|
extern ESP8266WebServer *Webserver;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user