@@ -1621,7 +1621,7 @@ def obj_box_left_right_flip(im, coords=[], is_rescale=False, is_center=False, is
16211621 An image with dimension of [row, col, channel] (default).
16221622 coords : list of list for coordinates [[x, y, w, h], [x, y, w, h], ...]
16231623 is_rescale : boolean, default False
1624- Set to True, if the coordinates are rescaled to [0, 1].
1624+ Set to True, if the input coordinates are rescaled to [0, 1].
16251625 is_center : boolean, default False
16261626 Set to True, if the x and y of coordinates are the centroid. (i.e. darknet format)
16271627 is_random : boolean, default False
@@ -1700,7 +1700,7 @@ def obj_box_imresize(im, coords=[], size=[100, 100], interp='bicubic', mode=None
17001700 coords : list of list for coordinates [[x, y, w, h], [x, y, w, h], ...]
17011701 size, interp, mode : see ``tl.prepro.imresize`` for details.
17021702 is_rescale : boolean, default False
1703- Set to True, if the coordinates are rescaled to [0, 1], then return the original coordinates.
1703+ Set to True, if the input coordinates are rescaled to [0, 1], then return the original coordinates.
17041704
17051705 Examples
17061706 --------
@@ -1770,7 +1770,7 @@ def obj_box_crop(im, classes=[], coords=[], wrg=100, hrg=100,
17701770 coords : list of list for coordinates [[x, y, w, h], [x, y, w, h], ...]
17711771 wrg, hrg, is_random : see ``tl.prepro.crop`` for details.
17721772 is_rescale : boolean, default False
1773- Set to True, if the coordinates are rescaled to [0, 1].
1773+ Set to True, if the input coordinates are rescaled to [0, 1].
17741774 is_center : boolean, default False
17751775 Set to True, if the x and y of coordinates are the centroid. (i.e. darknet format)
17761776 thresh_wh : float
@@ -1897,7 +1897,7 @@ def obj_box_shift(im, classes=[], coords=[], wrg=0.1, hrg=0.1,
18971897 coords : list of list for coordinates [[x, y, w, h], [x, y, w, h], ...]
18981898 wrg, hrg, row_index, col_index, channel_index, is_random, fill_mode, cval, order : see ``tl.prepro.shift``.
18991899 is_rescale : boolean, default False
1900- Set to True, if the coordinates are rescaled to [0, 1].
1900+ Set to True, if the input coordinates are rescaled to [0, 1].
19011901 is_center : boolean, default False
19021902 Set to True, if the x and y of coordinates are the centroid. (i.e. darknet format)
19031903 thresh_wh : float
@@ -2007,7 +2007,7 @@ def obj_box_zoom(im, classes=[], coords=[], zoom_range=(0.9, 1.1),
20072007 coords : list of list for coordinates [[x, y, w, h], [x, y, w, h], ...]
20082008 zoom_range, row_index, col_index, channel_index, is_random, fill_mode, cval, order : see ``tl.prepro.zoom``.
20092009 is_rescale : boolean, default False
2010- Set to True, if the coordinates are rescaled to [0, 1].
2010+ Set to True, if the input coordinates are rescaled to [0, 1].
20112011 is_center : boolean, default False
20122012 Set to True, if the x and y of coordinates are the centroid. (i.e. darknet format)
20132013 thresh_wh : float
0 commit comments