Evo 7.12.0-TM26061101
Evo LPR Engine
Loading...
Searching...
No Matches
SSEngine.hpp
Go to the documentation of this file.
1#ifndef EVO_SS_ENGINE_HPP_
2#define EVO_SS_ENGINE_HPP_
3
4#include "Engine.hpp"
5
6
7#if defined(_WIN64)
8# ifdef EVOSSE_EXPORTS
9# define EVOSSE_DECLSPEC __declspec(dllexport)
10# else
11# define EVOSSE_DECLSPEC __declspec(dllimport)
12# endif
13#else // __linux__
14# define EVOSSE_DECLSPEC
15#endif
16
17
18namespace Evo
19{
20
27class SSEngine : public Engine
28{
29public:
30 typedef std::shared_ptr<SSEngine> Ptr;
31
32protected:
33 SSEngine(Lic::LicInst licInst);
34 virtual ~SSEngine(void);
35
36public:
49 virtual EvoRC Init(const char *ccode, const char *dnnDevDesc) = 0;
50
55 virtual void Deinit(void) = 0;
56
66 virtual LPI::Ptr Run(const char *imgPath, EvoMS *mstg = NULL) = 0;
67
78 virtual LPI::Ptr Run(const EvoImage &img, EvoMS *mstg = NULL) = 0;
79
92 virtual LPI::Ptr Run(const void *encImg, size_t len, EvoMS *mstg = NULL) = 0;
93
100 EVOSSE_DECLSPEC static Ptr Create(void);
101
102 typedef Ptr (*FP_Create)(void);
103
104 EVO_RMV_SPECIAL_METHODS(SSEngine)
105};
106
107} // Evo namespace
108
109#endif // EVO_SS_ENGINE_HPP_
EvoRC
Return Codes.
Definition Basic.h:59
C++ header file common to all type of engines.
virtual EvoRC Init(const char *ccode, const char *dnnDevDesc)=0
virtual LPI::Ptr Run(const void *encImg, size_t len, EvoMS *mstg=NULL)=0
virtual LPI::Ptr Run(const EvoImage &img, EvoMS *mstg=NULL)=0
virtual void Deinit(void)=0
virtual LPI::Ptr Run(const char *imgPath, EvoMS *mstg=NULL)=0
static EVOSSE_DECLSPEC Ptr Create(void)
Evo Engine's topmost namespace
Definition CamCalib.hpp:27
Image Descriptor.
Definition Basic.h:510