whai362 / PSENet

Official Pytorch implementations of PSENet.
Apache License 2.0
1.17k stars 344 forks source link

画mask图不对 #186

Closed TinkingLoeng closed 2 years ago

TinkingLoeng commented 2 years ago

cv2.drawContours(gt_instance, [bboxes[i]], -1, i + 1, -1) 但是输入的 [bboxes[i]]格式为: [[[235 200] [329 181] [433 222] [405 242] [338 210] [245 224]]] 根本没办法画轮廓