mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 12:06:58 +03:00
improved rotation of message log files implement deletion of temp images before start new flow a little bit code cleaning
37 lines
836 B
C++
37 lines
836 B
C++
#pragma once
|
|
#include "ClassFlowImage.h"
|
|
// #include "CTfLiteClass.h"
|
|
|
|
struct roianalog {
|
|
int posx, posy, deltax, deltay;
|
|
float result;
|
|
string name;
|
|
};
|
|
|
|
|
|
class ClassFlowAnalog :
|
|
public ClassFlowImage
|
|
{
|
|
protected:
|
|
std::vector<roianalog*> ROI;
|
|
string cnnmodelfile;
|
|
int modelxsize, modelysize;
|
|
int ZeigerEval(float zahl, int ziffer_vorgaenger);
|
|
|
|
public:
|
|
ClassFlowAnalog();
|
|
ClassFlowAnalog(std::vector<ClassFlow*>* lfc);
|
|
bool ReadParameter(FILE* pfile, string& aktparamgraph);
|
|
bool doFlow(string time);
|
|
string getHTMLSingleStep(string host);
|
|
string getReadout();
|
|
|
|
bool doNeuralNetwork(string time);
|
|
bool doAlignAndCut(string time);
|
|
std::vector<HTMLInfo*> GetHTMLInfo();
|
|
int AnzahlROIs(){return ROI.size();};
|
|
|
|
string name(){return "ClassFlowAnalog";};
|
|
};
|
|
|