Result¶
Class representing the result of Instance.analyze.
Attributes:
| Name | Type | Description |
|---|---|---|
image_bytes |
Optional[bytes]
|
Encoded PNG image, to get the decoded image, use |
context |
dict
|
Context dictionary. |
Methods:
| Name | Description |
|---|---|
get_decoded_image |
Get the decoded image. |
get_decoded_image ¶
get_decoded_image() -> NDArray[np.uint8]
Get the decoded image.
Raises:
| Type | Description |
|---|---|
ValueError
|
If image is |
OpenCVImportError
|
If image is not |