from_image_with_areas
BarCodeReader.from_image_with_areas
from_image_with_areas(self, cls, Optional[Union[str, os.PathLike, bytes, BinaryIO, Image.Image]] image, Optional[Union[List[RectLike], RectLike]] areas, Optional[Union[List[DecodeType], DecodeType]] decode_types) -> def
Initializes a new instance of the BarCodeReader.
| Parameter | Type | Description |
|---|---|---|
cls | `` | |
image | Optional[Union[str, os.PathLike, bytes, BinaryIO, Image.Image]] | |
areas | Optional[Union[List[RectLike], RectLike]] | |
decode_types | Optional[Union[List[DecodeType], DecodeType]] |
Return Type: def