mirror of https://github.com/arendst/Tasmota.git
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 "sensor.h"
|
||||
#include "fb_gfx.h"
|
||||
#include "fd_forward.h"
|
||||
#include "fr_forward.h"
|
||||
|
||||
#ifdef USE_FACE_DETECT
|
||||
#if ESP_IDF_VERSION <= ESP_IDF_VERSION_VAL(4, 0, 0)
|
||||
#include "fd_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);
|
||||
extern ESP8266WebServer *Webserver;
|
||||
|
|
Loading…
Reference in New Issue