Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
cropping area -> cropped area
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakuyume committed Jun 23, 2017
1 parent 2f49bae commit db27000
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chainercv/transforms/bbox/crop_bbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def crop_bbox(
This method is mainly used together with image cropping.
This method translates the coordinates of bounding boxes like
:func:`~chainercv.transforms.translate_bbox`. In addition,
this function truncates the bounding boxes to fit within the cropping area.
If a bounding box does not overlap with the cropping area,
this function truncates the bounding boxes to fit within the cropped area.
If a bounding box does not overlap with the cropped area,
this bounding box will be removed.
The bounding boxes are expected to be packed into a two dimensional
Expand All @@ -26,7 +26,7 @@ def crop_bbox(
y_slice (slice): The slice of y axis.
x_slice (slice): The slice of x axis.
allow_outside_center (bool): If this argument is :obj:`False`,
bounding boxes whose centers are outside of the cropping area
bounding boxes whose centers are outside of the cropped area
are removed. The default value is :obj:`True`.
return_param (bool): If :obj:`True`, this function returns
indices of kept bounding boxes.
Expand Down

0 comments on commit db27000

Please sign in to comment.