SaigeVision C/C++  1.4.7
SaigeVision API document for C/C++
Segmentation's max inspection size

Functions

eErrorType SR_SetSegTestMaxInspectionSize (SegTestHandle handle, int maxInspectionHeight, int maxInspectionWidth, bool writeOnModelFile=true)
 Set Segmentation's max inspection size. More...
 
eErrorType SR_GetSegTestMaxInspectionSize (SegTestHandle handle, int *maxInspectionHeight, int *maxInspectionWidth)
 Get Segmentation's max inspection size. More...
 

Detailed Description

Segmentation's Max inspection size

Function Documentation

◆ SR_GetSegTestMaxInspectionSize()

eErrorType SR_GetSegTestMaxInspectionSize ( SegTestHandle  handle,
int *  maxInspectionHeight,
int *  maxInspectionWidth 
)

Get Segmentation's max inspection size.

Parameters
handlesegmentation file handler
maxInspectionHeightmemory address to receive maximum height of images to inspect
maxInspectionWidthmemory address to receive maximum width of images to inspect
See also
SR_SetSegTestMaxInspectionSize

◆ SR_SetSegTestMaxInspectionSize()

eErrorType SR_SetSegTestMaxInspectionSize ( SegTestHandle  handle,
int  maxInspectionHeight,
int  maxInspectionWidth,
bool  writeOnModelFile = true 
)

Set Segmentation's max inspection size.

Parameters
handlesegmentation file handler
maxInspectionHeightmaximum height of images to inspect
maxInspectionWidthmaximum width of images to inspect
writeOnModelFileoverwrite on model file or not
Warning
Must be called before SR_LoadSegTestNetworkInGPU.
See also
SR_GetSegTestMaxInspectionSize