SaigeVision C/C++ 1.5.0
SaigeVision API document for C/C++
 
Loading...
Searching...
No Matches
Classification's inspection results

Functions

eErrorType SR_GetClsTestClassifiedResult (ClsTestResult clsTestResult, SR_ClassifiedResult *classifiedResult)
 Get SR_ClassifiedResult. More...
 
eErrorType SR_GetClsTestResultScore (ClsTestResult clsTestResult, const int numClasses, int *scores, bool includeAddScore=false)
 Get scores for each class. More...
 
eErrorType SR_GetClsTestResultClass (ClsTestResult clsTestResult, int *classIdx)
 Get final class index. More...
 
eErrorType SR_GetClsTestInspectionTime (ClsTestResult clsTestResult, long *inspectionTimeInLong)
 Get the inspection time. More...
 
eErrorType SR_GetClsTestInspectionTimeInDouble (ClsTestResult clsTestResult, double *inspectionTimeInDouble)
 Get the inspection time. More...
 
eErrorType SR_GetClsTestLoadImageTime (ClsTestResult clsTestResult, long *imageLoadingTimeInLong)
 Get the image loading time. More...
 
eErrorType SR_GetClsTestLoadImageTimeInDouble (ClsTestResult clsTestResult, double *imageLoadingTimeInDouble)
 Get the image loading time. More...
 

Detailed Description

Classification의 검사 결과는 클래스 인덱스와 각 클래스별 점수들입니다.

Function Documentation

◆ SR_GetClsTestClassifiedResult()

eErrorType SR_GetClsTestClassifiedResult ( ClsTestResult  clsTestResult,
SR_ClassifiedResult *  classifiedResult 
)

Get SR_ClassifiedResult.

Parameters
clsTestResult
[out]classifiedResultmemory address receiving classifiedResult. The length of memory must be 1.
Examples
ExampleClsRuntime.cpp, ExampleClsRuntimeBatchInspection.cpp, and ExampleClsRuntimeSimple.cpp.

◆ SR_GetClsTestInspectionTime()

eErrorType SR_GetClsTestInspectionTime ( ClsTestResult  clsTestResult,
long *  inspectionTimeInLong 
)

Get the inspection time.

Parameters
clsTestResult
[out]inspectionTimeInLong
Examples
ExampleClsRuntime.cpp, ExampleClsRuntimeBatchInspection.cpp, ExampleClsRuntimeSimple.cpp, and ExampleSeg+ClsRuntime.cpp.

◆ SR_GetClsTestInspectionTimeInDouble()

eErrorType SR_GetClsTestInspectionTimeInDouble ( ClsTestResult  clsTestResult,
double *  inspectionTimeInDouble 
)

Get the inspection time.

Parameters
clsTestResult
[out]inspectionTimeInDouble

◆ SR_GetClsTestLoadImageTime()

eErrorType SR_GetClsTestLoadImageTime ( ClsTestResult  clsTestResult,
long *  imageLoadingTimeInLong 
)

Get the image loading time.

Parameters
clsTestResult
[out]imageLoadingTimeInLong
Examples
ExampleClsRuntime.cpp, ExampleClsRuntimeBatchInspection.cpp, and ExampleSeg+ClsRuntime.cpp.

◆ SR_GetClsTestLoadImageTimeInDouble()

eErrorType SR_GetClsTestLoadImageTimeInDouble ( ClsTestResult  clsTestResult,
double *  imageLoadingTimeInDouble 
)

Get the image loading time.

Parameters
clsTestResult
[out]imageLoadingTimeInDouble

◆ SR_GetClsTestResultClass()

eErrorType SR_GetClsTestResultClass ( ClsTestResult  clsTestResult,
int *  classIdx 
)

Get final class index.

It is recommended to use SR_GetClsTestClassifiedResult instead.

Parameters
clsTestResult
[out]classIdx
Examples
ExampleSeg+ClsRuntime.cpp.

◆ SR_GetClsTestResultScore()

eErrorType SR_GetClsTestResultScore ( ClsTestResult  clsTestResult,
const int  numClasses,
int *  scores,
bool  includeAddScore = false 
)

Get scores for each class.

It is recommended to use SR_GetClsTestClassifiedResult instead.

Parameters
clsTestResult
numClasses
[out]scoresmemory address receiving scores. The length of memory must be equal to numClasses
includeAddScorewhether get final scores(raw scores + Additional scores) or only raw scores.
Examples
ExampleSeg+ClsRuntime.cpp.