Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janlenoch/cognitiveservices
A .NET Standard 1.4 library for the Microsoft Cognitive Services APIs.
https://github.com/janlenoch/cognitiveservices
Last synced: 8 days ago
JSON representation
A .NET Standard 1.4 library for the Microsoft Cognitive Services APIs.
- Host: GitHub
- URL: https://github.com/janlenoch/cognitiveservices
- Owner: JanLenoch
- Created: 2017-04-18T06:14:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-14T09:53:52.000Z (almost 8 years ago)
- Last Synced: 2024-02-20T20:24:58.641Z (12 months ago)
- Language: C#
- Homepage:
- Size: 290 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A .NET Standard 1.4 library for the Microsoft Cognitive Services APIs.
As of now, it supports [OCR](https://westus.dev.cognitive.microsoft.com/docs/services/56f91f2d778daf23d8ec6739/operations/56f91f2e778daf14a499e1fc) processing of the [Computer Vision API v1.0](https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/home).
Feel free to add support for other APIs via pull requests.
## Library usage
Invoke either of the two overloads of the `RecognizeAsync` method of the [JanLenoch.CognitiveServices.Ocr.OcrClient](https://github.com/JanLenoch/JanLenoch.CognitiveServices/blob/master/JanLenoch.CognitiveServices.Ocr/OcrClient.cs) class. The first overload is suited for submitting URIs of publicly accessible images, the second one accepts a `byte[]` array of an image.
The methods return an [OcrResponse](https://github.com/JanLenoch/JanLenoch.CognitiveServices/blob/master/JanLenoch.CognitiveServices.Ocr/Models/OcrResponse.cs) object with regions, lines and words. All hierarchically structured, with bounding boxes and coordinates.