SaigeVision C/C++ 1.5.0
SaigeVision API document for C/C++
 
Loading...
Searching...
No Matches
Classification's forward time limit

Functions

eErrorType SR_GetClsTestForwardTimeLimit (ClsTestHandle handle, float *forwardTimeLimit)
 Get the Forward time limit. More...
 
eErrorType SR_GetClsTestIsToUseForwardTimeLimit (ClsTestHandle handle, bool *bIsToUseForwardTimeLimit)
 Get the boolean whether the current model is using time limit or not. More...
 
eErrorType SR_GetClsTestForwardTimeLimitVariables (ClsTestHandle handle, float *forwardTimeLimit, bool *bIsToUseForwardTimeLimit)
 Get the Forward time limit variables. More...
 
eErrorType SR_SetClsTestForwardTimeLimit (ClsTestHandle handle, float forwardTimeLimit, bool writeOnModelFile=true)
 Set the Forward time limit. More...
 
eErrorType SR_SetClsTestIsToUseForwardTimeLimit (ClsTestHandle handle, bool bIsToUseForwardTimeLimit, bool writeOnModelFile=true)
 Set the boolean whether the current model is using time limit or not. More...
 
eErrorType SR_SetClsTestForwardTimeLimitVariables (ClsTestHandle handle, float forwardTimeLimit, bool bIsToUseForwardTimeLimit, bool writeOnModelFile=true)
 Set the Forward time limit variables. More...
 

Detailed Description

Forward time limit for classification.

Function Documentation

◆ SR_GetClsTestForwardTimeLimit()

eErrorType SR_GetClsTestForwardTimeLimit ( ClsTestHandle  handle,
float *  forwardTimeLimit 
)

Get the Forward time limit.

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

◆ SR_GetClsTestForwardTimeLimitVariables()

eErrorType SR_GetClsTestForwardTimeLimitVariables ( ClsTestHandle  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
handleclassification file handler
[out]forwardTimeLimitmemory address receiving Forward time limit in milliseconds.
[out]bIsToUseForwardTimeLimitmemory address receiving the boolean.
See also
SR_SetClsTestForwardTimeLimitVariables

◆ SR_GetClsTestIsToUseForwardTimeLimit()

eErrorType SR_GetClsTestIsToUseForwardTimeLimit ( ClsTestHandle  handle,
bool *  bIsToUseForwardTimeLimit 
)

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

Parameters
handleclassification file handler
[out]bIsToUseForwardTimeLimitmemory address receiving the boolean.
See also
SR_SetClsTestIsToUseForwardTimeLimit

◆ SR_SetClsTestForwardTimeLimit()

eErrorType SR_SetClsTestForwardTimeLimit ( ClsTestHandle  handle,
float  forwardTimeLimit,
bool  writeOnModelFile = true 
)

Set the Forward time limit.

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

◆ SR_SetClsTestForwardTimeLimitVariables()

eErrorType SR_SetClsTestForwardTimeLimitVariables ( ClsTestHandle  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
handleclassification 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_SetClsTestForwardTimeLimitVariables
Examples
ExampleClsRuntime.cpp, and ExampleClsRuntimeBatchInspection.cpp.

◆ SR_SetClsTestIsToUseForwardTimeLimit()

eErrorType SR_SetClsTestIsToUseForwardTimeLimit ( ClsTestHandle  handle,
bool  bIsToUseForwardTimeLimit,
bool  writeOnModelFile = true 
)

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

Parameters
handleclassification file handler
bIsToUseForwardTimeLimitwhether the current model is using time limit or not
writeOnModelFileoverwrite on model file or not
See also
SR_GetClsTestIsToUseForwardTimeLimit
Examples
ExampleClsRuntime.cpp, and ExampleClsRuntimeBatchInspection.cpp.