From 6bea38fdb97630501110810c012a186b242e21ce Mon Sep 17 00:00:00 2001 From: abewley Date: Sun, 11 Jun 2017 13:20:23 +0100 Subject: [PATCH] Fixed typo in comment --- sort.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sort.py b/sort.py index baf665a..aee6dde 100644 --- a/sort.py +++ b/sort.py @@ -61,8 +61,8 @@ def convert_bbox_to_z(bbox): def convert_x_to_bbox(x,score=None): """ - Takes a bounding box in the form [x,y,s,r] and returns it in the form - [x1,y1,x2,x2] where x1,y1 is the top left and x2,y2 is the bottom right + Takes a bounding box in the centre form [x,y,s,r] and returns it in the form + [x1,y1,x2,y2] where x1,y1 is the top left and x2,y2 is the bottom right """ w = np.sqrt(x[2]*x[3]) h = x[2]/w