Reference documentation and code samples for the Cloud Vision V1 Client class BlockType.
Type of a block (text, image etc) as identified by OCR.
Protobuf type google.cloud.vision.v1.Block.BlockType
Namespace
Google \ Cloud \ Vision \ V1 \ BlockMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNKNOWN
Value: 0Unknown block type.
Generated from protobuf enum UNKNOWN = 0;
TEXT
Value: 1Regular text block.
Generated from protobuf enum TEXT = 1;
TABLE
Value: 2Table block.
Generated from protobuf enum TABLE = 2;
PICTURE
Value: 3Image block.
Generated from protobuf enum PICTURE = 3;
RULER
Value: 4Horizontal/vertical line box.
Generated from protobuf enum RULER = 4;
BARCODE
Value: 5Barcode block.
Generated from protobuf enum BARCODE = 5;