mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 19:46:54 +03:00
* Migrate parameters to v14.1 branch (#2023) * Migrated parameters * - * . * . * . * . * . * Remove unneeded checkboxes for true/false * Remove ";" * Correct MaintTopic * Added missing parameters to UI: FlipImageSize, InitialMirror Removed checkbox in UI for ErrorMessage Added migration of pboolean parameters: enable them if they where disabled, set them to their default value, then enable them Switch SetRetainFlag internally to a boolean * . * CamImages -> RawImages * CamImages -> RawImages * catch error on unknown parameter * fix missing case insensitivity * fix typo * fixmissing rename * fix migration of ExtendedResolution * Delete ClassFlowMakeImage.cpp * Delete ClassFlowMakeImage.h --------- Co-authored-by: CaCO3 <caco@ruinelli.ch> Co-authored-by: jomjol <30766535+jomjol@users.noreply.github.com> * Update Changelog.md --------- Co-authored-by: CaCO3 <caco@ruinelli.ch> Co-authored-by: jomjol <30766535+jomjol@users.noreply.github.com>
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
|