SaigeVision C/C++ 1.5.0
SaigeVision API document for C/C++
 
Loading...
Searching...
No Matches
OCR's max inspection size

Functions

eErrorType SR_SetOCRTestMaxInspectionSize (OCRTestHandle handle, int maxInspectionHeight, int maxInspectionWidth, bool writeOnModelFile=true)
 Set OCR's max inspection size. More...
 
eErrorType SR_GetOCRTestMaxInspectionSize (OCRTestHandle handle, int *maxInspectionHeight, int *maxInspectionWidth)
 Get OCR's max inspection size. More...
 

Detailed Description

OCR's Max inspection size

Function Documentation

◆ SR_GetOCRTestMaxInspectionSize()

eErrorType SR_GetOCRTestMaxInspectionSize ( OCRTestHandle  handle,
int *  maxInspectionHeight,
int *  maxInspectionWidth 
)

Get OCR's max inspection size.

Parameters
handleOCR 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_GetOCRTestMaxInspectionSize

◆ SR_SetOCRTestMaxInspectionSize()

eErrorType SR_SetOCRTestMaxInspectionSize ( OCRTestHandle  handle,
int  maxInspectionHeight,
int  maxInspectionWidth,
bool  writeOnModelFile = true 
)

Set OCR's max inspection size.

Parameters
handleOCR 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_LoadOCRTestNetworkInGPU.
See also
SR_GetOCRTestMaxInspectionSize