ROI Post-Detection Result Alignment

Function: Align the detection result of the post-crop image to the pre-crop image by ROI2d

Input Parameters:

Name Type Valid Range Default Value Meaning

Pre-ROI image

ColorImage

None

None

Enter image, color image of RGB channel is required

Detection results

DetectInstance

None

{}

Returns bounding boxes, taxonomies, scores and polygon

2D ROI

ROI2D

None

[{'min': [0, 0], 'max': [0, 0]}]

2D ROI in the format [{'min': [min_x, min_y], 'max': [max_x, max_y]}]

Output Parameters:

Name Type Valid Range Default Value Meaning

Detection results

DetectInstance

None

{}

Returns bounding boxes, taxonomies, scores and polygon