-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ add french_healthcard, driver_license, payslip_fra v3
- Loading branch information
Showing
28 changed files
with
1,833 additions
and
423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Mindee; | ||
using Mindee.Input; | ||
using Mindee.Product.DriverLicense; | ||
|
||
string apiKey = "my-api-key"; | ||
string filePath = "/path/to/the/file.ext"; | ||
|
||
// Construct a new client | ||
MindeeClient mindeeClient = new MindeeClient(apiKey); | ||
|
||
// Load an input source as a path string | ||
// Other input types can be used, as mentioned in the docs | ||
var inputSource = new LocalInputSource(filePath); | ||
|
||
// Call the product asynchronously with auto-polling | ||
var response = await mindeeClient | ||
.EnqueueAndParseAsync<DriverLicenseV1>(inputSource); | ||
|
||
// Print a summary of all the predictions | ||
System.Console.WriteLine(response.Document.ToString()); | ||
|
||
// Print only the document-level predictions | ||
// System.Console.WriteLine(response.Document.Inference.Prediction.ToString()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Mindee; | ||
using Mindee.Input; | ||
using Mindee.Product.Fr.HealthCard; | ||
|
||
string apiKey = "my-api-key"; | ||
string filePath = "/path/to/the/file.ext"; | ||
|
||
// Construct a new client | ||
MindeeClient mindeeClient = new MindeeClient(apiKey); | ||
|
||
// Load an input source as a path string | ||
// Other input types can be used, as mentioned in the docs | ||
var inputSource = new LocalInputSource(filePath); | ||
|
||
// Call the product asynchronously with auto-polling | ||
var response = await mindeeClient | ||
.EnqueueAndParseAsync<HealthCardV1>(inputSource); | ||
|
||
// Print a summary of all the predictions | ||
System.Console.WriteLine(response.Document.ToString()); | ||
|
||
// Print only the document-level predictions | ||
// System.Console.WriteLine(response.Document.Inference.Prediction.ToString()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Mindee; | ||
using Mindee.Input; | ||
using Mindee.Product.Fr.Payslip; | ||
|
||
string apiKey = "my-api-key"; | ||
string filePath = "/path/to/the/file.ext"; | ||
|
||
// Construct a new client | ||
MindeeClient mindeeClient = new MindeeClient(apiKey); | ||
|
||
// Load an input source as a path string | ||
// Other input types can be used, as mentioned in the docs | ||
var inputSource = new LocalInputSource(filePath); | ||
|
||
// Call the product asynchronously with auto-polling | ||
var response = await mindeeClient | ||
.EnqueueAndParseAsync<PayslipV3>(inputSource); | ||
|
||
// Print a summary of all the predictions | ||
System.Console.WriteLine(response.Document.ToString()); | ||
|
||
// Print only the document-level predictions | ||
// System.Console.WriteLine(response.Document.Inference.Prediction.ToString()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.