mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 03:56:57 +03:00
* Migrated parameters, see https://github.com/jomjol/AI-on-the-edge-device/pull/2023
* remove no longer used "topic" parameter. This is a backport from b21e3c6c9d
* Fix wrong url-encoding, see https://github.com/jomjol/AI-on-the-edge-device/issues/2036 resp. https://github.com/jomjol/AI-on-the-edge-device/issues/2036
* Threashold -> Threshold
* updated changelog
---------
Co-authored-by: CaCO3 <caco@ruinelli.ch>
30 lines
673 B
C++
30 lines
673 B
C++
#pragma once
|
|
|
|
#ifndef CLASSFLOWIMAGE_H
|
|
#define CLASSFLOWIMAGE_H
|
|
|
|
#include "ClassFlow.h"
|
|
|
|
using namespace std;
|
|
|
|
class ClassFlowImage : public ClassFlow
|
|
{
|
|
protected:
|
|
string imagesLocation;
|
|
bool isLogImage;
|
|
unsigned short imagesRetention;
|
|
const char* logTag;
|
|
|
|
string CreateLogFolder(string time);
|
|
void LogImage(string logPath, string name, float *resultFloat, int *resultInt, string time, CImageBasis *_img);
|
|
|
|
|
|
public:
|
|
ClassFlowImage(const char* logTag);
|
|
ClassFlowImage(std::vector<ClassFlow*> * lfc, const char* logTag);
|
|
ClassFlowImage(std::vector<ClassFlow*> * lfc, ClassFlow *_prev, const char* logTag);
|
|
|
|
void RemoveOldLogs();
|
|
};
|
|
|
|
#endif //CLASSFLOWIMAGE_H
|