mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-27 21:00:42 +03:00
30 lines
667 B
C++
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
|