LandingLens | LandingLens on Snowflake |
---|---|
run-ocr
command when launching a container. For example:
Element | Description |
---|---|
type | The name of the prediction type. This will always be OCR . |
predictions | This object contains the information for each string of text the model detected. Each prediction is a separate object nested in the predictions object.Predictions are listed in alphanumeric order. |
text | The predicted text of the string. |
score | The confidence score for the prediction. |
location | This object contains the pair of x and y coordinates (in pixels) of each corner of the bounding box of the predicted string. Each coordinate is a separate object nested in the location object. The coordinates start with the bottom left corner of the bounding box and go counterclockwise. |
metadata | This element contains nested metadata from the image. If the Image Source is Folder Watcher, some data is populated by default. You can use scripts and web APIs to set or override the values. |
image_id | If the Image Source is Folder Watcher, this is the file name of the image. Otherwise, this object is blank. You can use scripts and web APIs to set or override the values. |
inspection_station_id | This element is blank by default. You can use scripts and web APIs to set or override the values. |
location_id | If the Image Source is Folder Watcher, this is the directory that the image is in. Otherwise, this object is blank. You can use scripts and web APIs to set or override the values. |
capture_timestamp | The time and date that OCR was run on the image. You can use scripts and web APIs to set or override the values. |
model_id | This will always be OCR . |
latency | The latency object includes the detailed timing statistics of the inference call.Each key-value pair in the latency object represents a step in the inference process, and the duration of that step. All values are measured in seconds. |