提交 7a5501d1 编写于 作者: K Kaipeng Deng 提交者: GitHub

fix typo in operators.py. test=develop (#3527)

上级 727f7d51
...@@ -475,7 +475,7 @@ class ExpandImage(BaseOperator): ...@@ -475,7 +475,7 @@ class ExpandImage(BaseOperator):
""" """
Expand the image and modify bounding box. Expand the image and modify bounding box.
Operators: Operators:
1. Scale the image weight and height. 1. Scale the image width and height.
2. Construct new images with new height and width. 2. Construct new images with new height and width.
3. Fill the new image with the mean. 3. Fill the new image with the mean.
4. Put original imge into new image. 4. Put original imge into new image.
...@@ -550,7 +550,7 @@ class CropImage(BaseOperator): ...@@ -550,7 +550,7 @@ class CropImage(BaseOperator):
""" """
Crop the image and modify bounding box. Crop the image and modify bounding box.
Operators: Operators:
1. Scale the image weight and height. 1. Scale the image width and height.
2. Crop the image according to a radom sample. 2. Crop the image according to a radom sample.
3. Rescale the bounding box. 3. Rescale the bounding box.
4. Determine if the new bbox is satisfied in the new image. 4. Determine if the new bbox is satisfied in the new image.
...@@ -646,7 +646,7 @@ class CropImageWithDataAchorSampling(BaseOperator): ...@@ -646,7 +646,7 @@ class CropImageWithDataAchorSampling(BaseOperator):
""" """
Crop the image and modify bounding box. Crop the image and modify bounding box.
Operators: Operators:
1. Scale the image weight and height. 1. Scale the image width and height.
2. Crop the image according to a radom sample. 2. Crop the image according to a radom sample.
3. Rescale the bounding box. 3. Rescale the bounding box.
4. Determine if the new bbox is satisfied in the new image. 4. Determine if the new bbox is satisfied in the new image.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册