types¶
types ¶
Attributes¶
ImageInput module-attribute ¶
Supported image input types. Includes:
- numpy ndarray (H, W, C) in BGR format
- PIL Image
- torch Tensor (C, H, W) or (1, C, H, W)
- bytes (encoded image data)
__all__ module-attribute ¶
__all__ = ['P', 'R', 'O', 'DeviceType', 'Device', 'Box', 'ClassificationOutput', 'DetectionOutput', 'SegmentationOutput', 'Precision']
Classes¶
DeviceType ¶
Device ¶
Device(device: str | DeviceType, index: int = 0)