Files
AI-on-the-edge-device/code/lib/jomjol_flowcontroll/ClassFlowDigit.h
Jurij Retzlaff f4f871002b rotation of image log files implemented
improved rotation of message log files
implement deletion of temp images before start new flow
a little bit code cleaning
2020-11-12 23:27:00 +01:00

37 lines
745 B
C++

#pragma once
#include "ClassFlowImage.h"
#include "Helper.h"
#include <string>
struct roi {
int posx, posy, deltax, deltay;
int resultklasse;
string name;
roi* next;
};
class ClassFlowDigit :
public ClassFlowImage
{
protected:
std::vector<roi*> ROI;
string cnnmodelfile;
int modelxsize, modelysize;
bool doNeuralNetwork(string time);
bool doAlignAndCut(string time);
public:
ClassFlowDigit();
ClassFlowDigit(std::vector<ClassFlow*>* lfc);
bool ReadParameter(FILE* pfile, string& aktparamgraph);
bool doFlow(string time);
string getHTMLSingleStep(string host);
string getReadout();
std::vector<HTMLInfo*> GetHTMLInfo();
string name(){return "ClassFlowDigit";};
};