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

Functions

eErrorType SR_GetSegTestForwardTimeLimit (SegTestHandle handle, float *forwardTimeLimit)
 Get the Forward time limit. More...
 
eErrorType SR_GetSegTestIsToUseForwardTimeLimit (SegTestHandle handle, bool *bIsToUseForwardTimeLimit)
 Get the boolean whether the current model is using time limit or not. More...
 
eErrorType SR_GetSegTestForwardTimeLimitVariables (SegTestHandle handle, float *forwardTimeLimit, bool *bIsToUseForwardTimeLimit)
 Get the Forward time limit variables. More...
 
eErrorType SR_SetSegTestForwardTimeLimit (SegTestHandle handle, float forwardTimeLimit, bool writeOnModelFile=true)
 Set the Forward time limit. More...
 
eErrorType SR_SetSegTestIsToUseForwardTimeLimit (SegTestHandle handle, bool bIsToUseForwardTimeLimit, bool writeOnModelFile=true)
 Set the boolean whether the current model is using time limit or not. More...
 
eErrorType SR_SetSegTestForwardTimeLimitVariables (SegTestHandle handle, float forwardTimeLimit, bool bIsToUseForwardTimeLimit, bool writeOnModelFile=true)
 Set the Forward time limit variables. More...
 

Detailed Description

Forward time limit for segmentation.

Function Documentation

◆ SR_GetSegTestForwardTimeLimit()

eErrorType SR_GetSegTestForwardTimeLimit ( SegTestHandle  handle,
float *  forwardTimeLimit 
)

Get the Forward time limit.

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

◆ SR_GetSegTestForwardTimeLimitVariables()

eErrorType SR_GetSegTestForwardTimeLimitVariables ( SegTestHandle  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
handlesegmentation file handler
[out]forwardTimeLimitmemory address receiving Forward time limit in milliseconds.
[out]bIsToUseForwardTimeLimitmemory address receiving the boolean.
See also
SR_SetSegTestForwardTimeLimitVariables

◆ SR_GetSegTestIsToUseForwardTimeLimit()

eErrorType SR_GetSegTestIsToUseForwardTimeLimit ( SegTestHandle  handle,
bool *  bIsToUseForwardTimeLimit 
)

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

Parameters
handlesegmentation file handler
[out]bIsToUseForwardTimeLimitmemory address receiving the boolean.
See also
SR_SetSegTestIsToUseForwardTimeLimit

◆ SR_SetSegTestForwardTimeLimit()

eErrorType SR_SetSegTestForwardTimeLimit ( SegTestHandle  handle,
float  forwardTimeLimit,
bool  writeOnModelFile = true 
)

Set the Forward time limit.

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

◆ SR_SetSegTestForwardTimeLimitVariables()

eErrorType SR_SetSegTestForwardTimeLimitVariables ( SegTestHandle  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
handlesegmentation 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_SetSegTestForwardTimeLimitVariables
Examples
ExampleSegPostProcess.cpp, ExampleSegRuntime.cpp, ExampleSegRuntimeBatchInspection.cpp, ExampleSegRuntimeMultiPage.cpp, and ExampleSuperResolution+SegRuntime.cpp.

◆ SR_SetSegTestIsToUseForwardTimeLimit()

eErrorType SR_SetSegTestIsToUseForwardTimeLimit ( SegTestHandle  handle,
bool  bIsToUseForwardTimeLimit,
bool  writeOnModelFile = true 
)

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

Parameters
handlesegmentation file handler
bIsToUseForwardTimeLimitwhether the current model is using time limit or not
writeOnModelFileoverwrite on model file or not
See also
SR_GetSegTestIsToUseForwardTimeLimit
Examples
ExampleSegPostProcess.cpp, ExampleSegRuntime.cpp, ExampleSegRuntimeBatchInspection.cpp, ExampleSegRuntimeMultiPage.cpp, and ExampleSuperResolution+SegRuntime.cpp.