Evo 7.12.0-TM26061101
Evo LPR Engine
Loading...
Searching...
No Matches
Evo::SSEngine Class Referenceabstract

Snapshot Engine class. More...

#include <SSEngine.hpp>

Inheritance diagram for Evo::SSEngine:
Evo::Engine

Public Member Functions

virtual EvoRC Init (const char *ccode, const char *dnnDevDesc)=0
virtual void Deinit (void)=0
virtual LPI::Ptr Run (const char *imgPath, EvoMS *mstg=NULL)=0
virtual LPI::Ptr Run (const EvoImage &img, EvoMS *mstg=NULL)=0
virtual LPI::Ptr Run (const void *encImg, size_t len, EvoMS *mstg=NULL)=0
Public Member Functions inherited from Evo::Engine
virtual EvoRC SetParam (EvoParam param, const void *value)=0
virtual EvoRC GetParam (EvoParam param, void *value) const =0

Static Public Member Functions

static EVOSSE_DECLSPEC Ptr Create (void)

Detailed Description

SSEngine class provides funcionalities to detect and recognize all the license plates in single snapshot image.

Member Function Documentation

◆ Create()

EVOSSE_DECLSPEC Ptr Evo::SSEngine::Create ( void )
static

Create a engine instance

Returns
Created instance. If fail, NULL returns. In that case, the error code can be obtained using GetLastRC().

◆ Deinit()

virtual void Evo::SSEngine::Deinit ( void )
pure virtual

Release all the resources in use. For further process, must be reinitialized.

◆ Init()

virtual EvoRC Evo::SSEngine::Init ( const char * ccode,
const char * dnnDevDesc )
pure virtual

Initialize the engine.

Parameters
[in]ccodeRequired country-code. For details, refer to Country Codes.
[in]dnnDevDescDNN Device Descriptor string. If NULL, the engine builds optimal descriptor automatically. For details, refer to DNN Device Descriptor.
Returns
EvoRC code
Note
Don't use any white space in DNN Device Descriptor argument.

◆ Run() [1/3]

virtual LPI::Ptr Evo::SSEngine::Run ( const char * imgPath,
EvoMS * mstg = NULL )
pure virtual

Detect and recognize all the license plates in the input image.

Parameters
[in]imgPathPath to the image file.
[out]mstgFor the usage of debuging.
Returns
LPI object. If any one was not found or errors occured, return NULL. In this case, GetLastRC() can be used to know the reasion.

◆ Run() [2/3]

virtual LPI::Ptr Evo::SSEngine::Run ( const EvoImage & img,
EvoMS * mstg = NULL )
pure virtual

Detect and recognize all the license plates on single image.

Parameters
[in]imgInput image data.
[out]mstgFor the usage of debuging.
Returns
The same as Run(const char*, EvoMS*).
Warning
Must keep the memory buffer intact until returns. Or, the engine could become unknown state.

◆ Run() [3/3]

virtual LPI::Ptr Evo::SSEngine::Run ( const void * encImg,
size_t len,
EvoMS * mstg = NULL )
pure virtual

Detect and recognize all the license plates on single image.

Parameters
[in]encImgBuffer to contain the input image encoded in JPEG, PNG, BMP and so on.
[in]lenLength of the buffer in bytes.
[out]mstgFor the usage of debuging.
Returns
The same as Run(const char*, EvoMS*).
Warning
Must keep the memory buffer intact until returns. Or, the engine could become unknown state.