facebookresearch/segment-anything

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

TahaTabatabaei opened this issue · 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".