Type Definitions
ArraylRTB
Left - Top - Right - Bottom array If Size 2, then we consider Left = Right and Top = Bottom If Number, then Left = Top = Right = Bottom = Number
Type:
- Number | Array.<Number> | Hasard.<Number> | Hasard.<Array.<Number>>
ArrayXY
Type:
- Number | Array.<Number> | Hasard.<Number> | Hasard.<Array.<Number>>
AugmenterFormat
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
images |
Images | list of images or images batch (with tensorflowjs) |
points |
Array.<Point> | the points to augment |
boxes |
Array.<Box> | bounding boxes to augment |
- Source:
BooleanArgument
Type:
- Boolean | Hasard.<Boolean>
- Source:
BorderTypeArgument
describe how to handle the new pixel created by the augmentation step
- "constant" : use a constant variable
- "transparent" : use transparent pixels
- "replicate" : replicate the border's colors
Type:
- String | Hasard.<String>
- Source:
ColorArgument
A color (3 channels or 4 channels) to use in the augmentation step
Type:
- Array.<Number> | Hasard.<Array.<Number>>
- Source:
Images
Type:
- Array.<OpenCVImage> | OpenCVImage | Tensor4d | Array.<Tensor4d>
- Source:
NumberArgument
Type:
- Number | Hasard.<Number>
- Source: