Shipping containers OCR .NET
The .NET OCR SDK supports the API Shipping containers OCR for extracting data from pictures of containers identification.
Using this sample below, we are going to illustrate how to extract the data that we want using the OCR SDK.
Quick Start
// Load a file from disk and parse it
string path = "./path/to/the/file.ext";
var prediction = await _mindeeClient
.LoadDocument(File.OpenRead(Path), System.IO.Path.GetFileName(Path))
.ParseAsync<ShippingContainerV1Prediction>();
// Print a summary of the parsed data
System.Console.WriteLine(prediction.Inference.Prediction.ToString());
Output:
----- Shipping Container V1 -----
Owner: MMAU
Serial number: 1193249
Size and type: 45R1
----------------------
Questions?
[Join our Slack]((https://join.slack.com/t/mindee-community/shared_invite/zt-1jv6nawjq-FDgFcF2T5CmMmRpl9LLptw)
Updated 3 months ago