JudasDie / SOTS

Single object tracking and segmentation.
484 stars 76 forks source link

Bounding box encoding #58

Closed sieumap43 closed 2 years ago

sieumap43 commented 2 years ago

Hi. Thanks for the great work! I would like to know how you encode the bounding boxes. Apparently according to class Detect in lib/models/mot/cstrack.py (first image), you use some sort of square encoding scheme which I couldn't understand. I cannot find any place where you use the encoding scheme of either YOLO (second image) or of RPN from Faster R-CNN (third image). image

image image

Here is the function that computes the encoding but you never use this function. image

sieumap43 commented 2 years ago

I found the answer. The parameterization comes from YOLOv5. From this formula https://github.com/ultralytics/yolov5/issues/6998#44