segment-anything icon indicating copy to clipboard operation
segment-anything copied to clipboard

"show_box()" needs to be changed in "predictor_example.ipynb"

Open TahaTabatabaei opened this issue 1 year ago • 0 comments

Hello,

As I looked through the codes, the annotation "bbox" attribute is in the form of (x, y, h, w). However, in the example notebook, the function "show_box()" decodes the bounding box assuming it is in the form of (x0, y0, x1, y1). I believe it should be changed according to the correct format of "bbox".

TahaTabatabaei avatar Jun 07 '24 07:06 TahaTabatabaei