8#include "base_detection_module.h"
11#include "websockets.h"
12#include <esp_http_server.h>
23 static httpd_handle_t _server_handle;
28 static Camera* _camera_instance;
An abstract base class (Interface) that defines the contract for detection algorithms....
Definition base_detection_module.h:22
Singleton-style manager for camera lifecycle and frame acquisition.
Definition camera.h:63
Definition websockets.h:166
Manages the ESP32-CAM web interface and control API.
Definition turret_server.h:21
void stop()
Shut down the server and unregister all URI handlers.
Definition turret_server.cpp:64
static esp_err_t index_handler(httpd_req_t *req)
HTTP handler for the root ("/") URI. This method is called by the ESP HTTP server whenever a client a...
Definition turret_server.cpp:89
bool start(Camera *camera, BaseDetectionModule *detection=nullptr)
Configures and launches the web server on port 80.
Definition turret_server.cpp:34
Definition websockets.h:130