cocohelper
User Reference:
Installation
Usage
API Reference
cocohelper
adapters
dataframe
errors
filters
helper
importer
joins
merge
splitters
stats
transforms
compose
crop
CenterCrop
Crop
RandomCrop
SizeMode
_check_bbox
_check_bbox()
_crop_bbox
_crop_segmentation
_norm_bbox
crop_img
randomflip
resize
transform
utils
validator
visualizer
cocohelper
API Reference
cocohelper
transforms
crop
_check_bbox
View page source
_check_bbox
cocohelper.transforms.crop.
_check_bbox
(
x
=
0
,
y
=
0
,
w
=
0
,
h
=
0
,
mode
=
SizeMode.pixel
)
[source]
Parameters
:
x
(
int
) –
y
(
int
) –
w
(
int
) –
h
(
int
) –