ClassFlowDigit.h 741 B

12345678910111213141516171819202122232425262728293031323334353637
  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 getReadout();
  28. std::vector<HTMLInfo*> GetHTMLInfo();
  29. string name(){return "ClassFlowDigit";};
  30. };