Files
AI-on-the-edge-device/code/components/jomjol_flowcontroll/ClassFlowImage.h
michael 4905663933 test1
2026-01-17 02:49:32 +01:00

30 lines
667 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