Restructure Image Processing

This commit is contained in:
jomjol
2020-12-23 08:00:11 +01:00
parent b418525b3b
commit 9971c82e99
34 changed files with 1013 additions and 892 deletions

View File

@@ -14,7 +14,7 @@
#include "esp_err.h"
#include "esp_log.h"
#include "CFindTemplate.h"
#include "CImageBasis.h"

View File

@@ -29,9 +29,9 @@ bool flowisrunning = false;
long auto_intervall = 0;
bool auto_isrunning = false;
ImageData* GetJPG(std::string _filename)
esp_err_t GetJPG(std::string _filename, httpd_req_t *req)
{
return tfliteflow.GetJPGStream(_filename);
return tfliteflow.GetJPGStream(_filename, req);
}
esp_err_t GetRawJPG(httpd_req_t *req)

View File

@@ -1,7 +1,7 @@
#include <esp_log.h>
#include <esp_http_server.h>
#include "CFindTemplate.h"
#include "CImageBasis.h"
//#include "ClassControllCamera.h"
@@ -15,6 +15,6 @@ void TFliteDoAutoStart();
bool isSetupModusActive();
ImageData* GetJPG(std::string _filename);
esp_err_t GetJPG(std::string _filename, httpd_req_t *req);
esp_err_t GetRawJPG(httpd_req_t *req);