server_tflite.h 622 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #ifndef SERVERTFLITE_H
  3. #define SERVERTFLITE_H
  4. #include <esp_log.h>
  5. #include <string>
  6. #include <esp_http_server.h>
  7. #include "CImageBasis.h"
  8. #include "ClassFlowControll.h"
  9. //#include "ClassControllCamera.h"
  10. void register_server_tflite_uri(httpd_handle_t server);
  11. void KillTFliteTasks();
  12. void TFliteDoAutoStart();
  13. bool isSetupModusActive();
  14. #ifdef ENABLE_MQTT
  15. std::string GetMQTTMainTopic();
  16. #endif //ENABLE_MQTT
  17. int getCountFlowRounds();
  18. esp_err_t GetJPG(std::string _filename, httpd_req_t *req);
  19. esp_err_t GetRawJPG(httpd_req_t *req);
  20. extern ClassFlowControll tfliteflow;
  21. #endif //SERVERTFLITE_H