SaigeVision C/C++  1.4.7
SaigeVision API document for C/C++
OCR's forward time limit

Functions

eErrorType SR_GetOCRTestForwardTimeLimit (OCRTestHandle handle, float *forwardTimeLimit)
 Get the Forward time limit. More...
 
eErrorType SR_GetOCRTestIsToUseForwardTimeLimit (OCRTestHandle handle, bool *bIsToUseForwardTimeLimit)
 Get the boolean whether the current model is using time limit or not. More...
 
eErrorType SR_GetOCRTestForwardTimeLimitVariables (OCRTestHandle handle, float *forwardTimeLimit, bool *bIsToUseForwardTimeLimit)
 Get the Forward time limit variables. More...
 
eErrorType SR_SetOCRTestForwardTimeLimit (OCRTestHandle handle, float forwardTimeLimit, bool writeOnModelFile=true)
 Set the Forward time limit. More...
 
eErrorType SR_SetOCRTestIsToUseForwardTimeLimit (OCRTestHandle handle, bool bIsToUseForwardTimeLimit, bool writeOnModelFile=true)
 Set the boolean whether the current model is using time limit or not. More...
 
eErrorType SR_SetOCRTestForwardTimeLimitVariables (OCRTestHandle handle, float forwardTimeLimit, bool bIsToUseForwardTimeLimit, bool writeOnModelFile=true)
 Set the Forward time limit variables. More...
 

Detailed Description

Forward time limit for OCR.

Function Documentation

◆ SR_GetOCRTestForwardTimeLimit()

eErrorType SR_GetOCRTestForwardTimeLimit ( OCRTestHandle  handle,
float *  forwardTimeLimit 
)

Get the Forward time limit.

Parameters
handleOCR file handler
[out]forwardTimeLimitmemory address receiving Forward time limit in milliseconds.
See also
SR_SetOCRTestForwardTimeLimit

◆ SR_GetOCRTestForwardTimeLimitVariables()

eErrorType SR_GetOCRTestForwardTimeLimitVariables ( OCRTestHandle  handle,
float *  forwardTimeLimit,
bool *  bIsToUseForwardTimeLimit 
)

Get the Forward time limit variables.

The boolean indicates whether the current model is using time limit or not.

Parameters
handleOCR file handler
[out]forwardTimeLimitmemory address receiving Forward time limit in milliseconds.
[out]bIsToUseForwardTimeLimitmemory address receiving the boolean.
See also
SR_SetOCRTestForwardTimeLimitVariables

◆ SR_GetOCRTestIsToUseForwardTimeLimit()

eErrorType SR_GetOCRTestIsToUseForwardTimeLimit ( OCRTestHandle  handle,
bool *  bIsToUseForwardTimeLimit 
)

Get the boolean whether the current model is using time limit or not.

Parameters
handleOCR file handler
[out]bIsToUseForwardTimeLimitmemory address receiving the boolean.
See also
SR_SetOCRTestIsToUseForwardTimeLimit

◆ SR_SetOCRTestForwardTimeLimit()

eErrorType SR_SetOCRTestForwardTimeLimit ( OCRTestHandle  handle,
float  forwardTimeLimit,
bool  writeOnModelFile = true 
)

Set the Forward time limit.

Parameters
handleOCR file handler
forwardTimeLimitForward time limit in milliseconds.
writeOnModelFileoverwrite on model file or not
See also
SR_GetOCRTestForwardTimeLimit

◆ SR_SetOCRTestForwardTimeLimitVariables()

eErrorType SR_SetOCRTestForwardTimeLimitVariables ( OCRTestHandle  handle,
float  forwardTimeLimit,
bool  bIsToUseForwardTimeLimit,
bool  writeOnModelFile = true 
)

Set the Forward time limit variables.

The boolean indicates whether the current model is using time limit or not.

Parameters
handleOCR file handler
forwardTimeLimitForward time limit in milliseconds.
bIsToUseForwardTimeLimitwhether the current model is using time limit or not
writeOnModelFileoverwrite on model file or not
See also
SR_SetOCRTestForwardTimeLimitVariables
Examples
ExampleOCRRuntime.cpp.

◆ SR_SetOCRTestIsToUseForwardTimeLimit()

eErrorType SR_SetOCRTestIsToUseForwardTimeLimit ( OCRTestHandle  handle,
bool  bIsToUseForwardTimeLimit,
bool  writeOnModelFile = true 
)

Set the boolean whether the current model is using time limit or not.

Parameters
handleOCR file handler
bIsToUseForwardTimeLimitwhether the current model is using time limit or not
writeOnModelFileoverwrite on model file or not
See also
SR_GetOCRTestIsToUseForwardTimeLimit
Examples
ExampleOCRRuntime.cpp.