Detection Result Split

Function: Split out the list of masks, the list of test boxes, and the list of result center points according to the detection results

Input Parameters:

Name Type Valid Range Default Value Meaning

Image

ColorImage

None

None

Enter image, color image of RGB channel is required

Detection results

DetectInstance

None

{}

Returns bounding boxes, taxonomies, scores and polygon

Output Parameters:

Name Type Valid Range Default Value Meaning

Detection Result Mask Graph List

BinaryImage

None

None

Returns a list of result masks

Hubspot list

List

None

None

(np.ndarray or None): Array of Nx2, each row of the array represents a pixel at the center of the result

Inspection box list

List

None

None

(np.ndarray or None): Nx4x2 array, each line of the array represents one of the four points of the result detection box, the detection box can be the minimum bounding box of the polygon, or the box formed in the upper left corner and lower right corner of the polygon

Parameter Settings:

Name Type Valid Range Default Value Meaning

Detection box type

String

['Minimum bounding box', 'Max-Min points']

Minimum bounding box

The minimum bounding box is the minimum bounding box calculated by the detection result polygon, and the maximum and minimum points are the maximum and minimum pixels found by polygon as the upper left corner and the lower right corner to generate the detection box.