Functions | |
| eErrorType | SR_GetDetTestResultNumberOfBoxes (DetTestResult detTestResult, int *numDetectedBoxes) |
| Get the number of detected boxes. More... | |
| eErrorType | SR_GetDetTestResultDetectedBoxes (DetTestResult detTestResult, const int numDetectedBoxes, SR_DetectedBox *detectedBoxes) |
| Get SR_DetectedBox. More... | |
| eErrorType | SR_GetDetTestResultAllBoxesInfo (DetTestResult detTestResult, const int numDetectedBoxes, int *classIndices, float *scores, int *coordinatesXYXY) |
| Get all the detected boxes. More... | |
| eErrorType | SR_GetDetTestResultOneBoxInfo (DetTestResult detTestResult, const int boxIndex, int *classIndex, float *score, int *coordinateXYXY) |
| Get a single detected box. More... | |
| eErrorType | SR_GetDetTestResultNumberOfBoxesBeforeFiltered (DetTestResult detTestResult, int numClasses, int *numRawBoxes) |
| Get the number of raw detected boxes before filtered by Max number of boxes for each class. More... | |
| eErrorType | SR_GetDetTestInspectionTime (DetTestResult detTestResult, long *inspectionTimeInLong) |
| Get the inspection time. More... | |
| eErrorType | SR_GetDetTestInspectionTimeInDouble (DetTestResult detTestResult, double *inspectionTimeInDouble) |
| Get the inspection time. More... | |
| eErrorType | SR_GetDetTestLoadImageTime (DetTestResult detTestResult, long *imageLoadingTimeInLong) |
| Get the image loading time. More... | |
| eErrorType | SR_GetDetTestLoadImageTimeInDouble (DetTestResult detTestResult, double *imageLoadingTimeInDouble) |
| Get the image loading time. More... | |
Detection의 검사 결과는 검출된 박스들의 리스트입니다. 박스가 가진 정보는 다음과 같습니다.
coordinates: 좌상단 및 우하단 코너의 x, y 좌표입니다. (x_tl, y_tl, x_br, y_br) width = x_br - x_tl, height = y_br - y_tl
| eErrorType SR_GetDetTestInspectionTime | ( | DetTestResult | detTestResult, |
| long * | inspectionTimeInLong | ||
| ) |
Get the inspection time.
| detTestResult | ||
| [out] | inspectionTimeInLong |
| eErrorType SR_GetDetTestInspectionTimeInDouble | ( | DetTestResult | detTestResult, |
| double * | inspectionTimeInDouble | ||
| ) |
Get the inspection time.
| detTestResult | ||
| [out] | inspectionTimeInDouble |
| eErrorType SR_GetDetTestLoadImageTime | ( | DetTestResult | detTestResult, |
| long * | imageLoadingTimeInLong | ||
| ) |
Get the image loading time.
| detTestResult | ||
| [out] | imageLoadingTimeInLong |
| eErrorType SR_GetDetTestLoadImageTimeInDouble | ( | DetTestResult | detTestResult, |
| double * | imageLoadingTimeInDouble | ||
| ) |
Get the image loading time.
| detTestResult | ||
| [out] | imageLoadingTimeInDouble |
| eErrorType SR_GetDetTestResultAllBoxesInfo | ( | DetTestResult | detTestResult, |
| const int | numDetectedBoxes, | ||
| int * | classIndices, | ||
| float * | scores, | ||
| int * | coordinatesXYXY | ||
| ) |
Get all the detected boxes.
It is recommended to use SR_GetDetTestResultDetectedBoxes instead.
| detTestResult | ||
| numDetectedBoxes | ||
| [out] | classIndices | memory address receiving class indices. The length of memory must be equal to numDetectedBoxes |
| [out] | scores | memory address receiving scores. The length of memory must be equal to numDetectedBoxes |
| [out] | coordinatesXYXY | memory address receiving coordinates. The length of memory must be equal to 4 x numDetectedBoxes |
| eErrorType SR_GetDetTestResultDetectedBoxes | ( | DetTestResult | detTestResult, |
| const int | numDetectedBoxes, | ||
| SR_DetectedBox * | detectedBoxes | ||
| ) |
Get SR_DetectedBox.
| detTestResult | ||
| numDetectedBoxes | ||
| [out] | detectedBoxes | memory address receiving SR_DetectedBox. The length of memory must be equal to numDetectedBoxes |
| eErrorType SR_GetDetTestResultNumberOfBoxes | ( | DetTestResult | detTestResult, |
| int * | numDetectedBoxes | ||
| ) |
Get the number of detected boxes.
| detTestResult | ||
| [out] | numDetectedBoxes |
| eErrorType SR_GetDetTestResultNumberOfBoxesBeforeFiltered | ( | DetTestResult | detTestResult, |
| int | numClasses, | ||
| int * | numRawBoxes | ||
| ) |
Get the number of raw detected boxes before filtered by Max number of boxes for each class.
| detTestResult | ||
| numClasses | ||
| [out] | numRawBoxes | memory address receiving number of raw detected boxes. The length of memory must be equal to numClasses. |
| eErrorType SR_GetDetTestResultOneBoxInfo | ( | DetTestResult | detTestResult, |
| const int | boxIndex, | ||
| int * | classIndex, | ||
| float * | score, | ||
| int * | coordinateXYXY | ||
| ) |
Get a single detected box.
It is recommended to use SR_GetDetTestResultDetectedBoxes instead.
| detTestResult | ||
| boxIndex | ||
| [out] | classIndex | memory address receiving a class index. |
| [out] | score | memory address receiving a score. |
| [out] | coordinateXYXY | memory address receiving coordinates. The length of memory must be equal to 4. |