EAST icon indicating copy to clipboard operation
EAST copied to clipboard

Why is score greater than 1 when using lanms?

Open liwer0715 opened this issue 5 years ago • 0 comments

when adding the following code,the score is less than 0.5 for i, box in enumerate(boxes): mask = np.zeros_like(score_map, dtype=np.uint8) cv2.fillPoly(mask, box[:8].reshape((-1, 4, 2)).astype(np.int32) // 4, 1) boxes[i, 8] = cv2.mean(score_map, mask)[0] boxes = boxes[boxes[:, 8] > box_thresh]

liwer0715 avatar Nov 03 '20 06:11 liwer0715