SaigeVision C/C++  1.4.7
SaigeVision API document for C/C++
Detection's inspection functions

Functions

eErrorType SR_ApplyDetTestFromImageFile (DetTestHandle handle, const char *imagePath, DetTestResult detTestResult)
 Apply detection algorithm to image by file path. More...
 
eErrorType SR_ApplyDetTestFromImageFileByWideCharPath (DetTestHandle handle, const wchar_t *imagePath, DetTestResult detTestResult)
 Apply detection algorithm to image by file path. More...
 
eErrorType SR_ApplyDetTestFrom8bitCharGrayArray (DetTestHandle handle, const unsigned char *imageData, const int height, const int width, DetTestResult detTestResult)
 Apply detection algorithm to 1-channel image by 8-bit data. More...
 
eErrorType SR_ApplyDetTestFrom8bitCharColorArray (DetTestHandle handle, const unsigned char *imageData, const int height, const int width, DetTestResult detTestResult)
 Apply detection algorithm to 3-channels(BGR) image by 8-bit data. More...
 
eErrorType SR_ApplyDetTestFromUnsignedIntColorArray (DetTestHandle handle, const unsigned int *imageData, const int height, const int width, DetTestResult detTestResult)
 Apply detection algorithm to 4-channels(BGRA) image by 8-bit data. More...
 

Detailed Description

Inspect images by applying Saige Vision's detection algorithms.
Images can be file path or data array.

Function Documentation

◆ SR_ApplyDetTestFrom8bitCharColorArray()

eErrorType SR_ApplyDetTestFrom8bitCharColorArray ( DetTestHandle  handle,
const unsigned char *  imageData,
const int  height,
const int  width,
DetTestResult  detTestResult 
)

Apply detection algorithm to 3-channels(BGR) image by 8-bit data.

Parameters
handledetection file handler
imageData
height
width
[out]detTestResult
Examples
ExampleDetRuntime.cpp, and ExampleDetRuntimeSimple.cpp.

◆ SR_ApplyDetTestFrom8bitCharGrayArray()

eErrorType SR_ApplyDetTestFrom8bitCharGrayArray ( DetTestHandle  handle,
const unsigned char *  imageData,
const int  height,
const int  width,
DetTestResult  detTestResult 
)

Apply detection algorithm to 1-channel image by 8-bit data.

Parameters
handledetection file handler
imageData
height
width
[out]detTestResult
Examples
ExampleDetRuntime.cpp, and ExampleDetRuntimeSimple.cpp.

◆ SR_ApplyDetTestFromImageFile()

eErrorType SR_ApplyDetTestFromImageFile ( DetTestHandle  handle,
const char *  imagePath,
DetTestResult  detTestResult 
)

Apply detection algorithm to image by file path.

Parameters
handledetection file handler
imagePath
[out]detTestResult
Examples
ExampleDetRuntime.cpp, and ExampleDetRuntimeSimple.cpp.

◆ SR_ApplyDetTestFromImageFileByWideCharPath()

eErrorType SR_ApplyDetTestFromImageFileByWideCharPath ( DetTestHandle  handle,
const wchar_t *  imagePath,
DetTestResult  detTestResult 
)

Apply detection algorithm to image by file path.

Parameters
handledetection file handler
imagePath
[out]detTestResult
Examples
ExampleDetRuntime.cpp, and ExampleDetRuntimeSimple.cpp.

◆ SR_ApplyDetTestFromUnsignedIntColorArray()

eErrorType SR_ApplyDetTestFromUnsignedIntColorArray ( DetTestHandle  handle,
const unsigned int *  imageData,
const int  height,
const int  width,
DetTestResult  detTestResult 
)

Apply detection algorithm to 4-channels(BGRA) image by 8-bit data.

Parameters
handledetection file handler
imageData
height
width
[out]detTestResult
Examples
ExampleDetRuntime.cpp, and ExampleDetRuntimeSimple.cpp.