ClassFlowDigit.h 785 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma once
  2. #include "ClassFlow.h"
  3. #include "Helper.h"
  4. #include <string>
  5. struct roi {
  6. int posx, posy, deltax, deltay;
  7. int resultklasse;
  8. string name;
  9. roi* next;
  10. };
  11. class ClassFlowDigit :
  12. public ClassFlow
  13. {
  14. protected:
  15. string LogImageLocation;
  16. bool isLogImage;
  17. std::vector<roi*> ROI;
  18. string cnnmodelfile;
  19. int modelxsize, modelysize;
  20. bool doNeuralNetwork(string time);
  21. bool doAlignAndCut(string time);
  22. public:
  23. ClassFlowDigit();
  24. ClassFlowDigit(std::vector<ClassFlow*>* lfc);
  25. bool ReadParameter(FILE* pfile, string& aktparamgraph);
  26. bool doFlow(string time);
  27. string getHTMLSingleStep(string host);
  28. string getReadout();
  29. std::vector<HTMLInfo*> GetHTMLInfo();
  30. string name(){return "ClassFlowDigit";};
  31. };