Cognitive.Service.Image.OCR
1.0.0
dotnet add package Cognitive.Service.Image.OCR --version 1.0.0
NuGet\Install-Package Cognitive.Service.Image.OCR -Version 1.0.0
<PackageReference Include="Cognitive.Service.Image.OCR" Version="1.0.0" />
paket add Cognitive.Service.Image.OCR --version 1.0.0
#r "nuget: Cognitive.Service.Image.OCR, 1.0.0"
// Install Cognitive.Service.Image.OCR as a Cake Addin #addin nuget:?package=Cognitive.Service.Image.OCR&version=1.0.0 // Install Cognitive.Service.Image.OCR as a Cake Tool #tool nuget:?package=Cognitive.Service.Image.OCR&version=1.0.0
Optical Character Recognition (OCR) detects text in an image. Extracts characters into a usable character.
First, subscribe on Microsoft Azure. Microsoft
gives a 7-day trial Subscription Key https://azure.microsoft.com/en-us/try/cognitive-services/ . We can use that Subscription key for testing purposes.
you need to log into the Azure Portal with our Azure credentials. Then we need to create an Azure Computer Vision Subscription Key in the Azure portal.
var caracters= OCR.GetImageOCR(key,imagePath, endPoint = "https://westus.api.cognitive.microsoft.com/vision/v1.0/ocr")
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 11.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,331 | 10/16/2018 |
Requirements
These are the major requirements mentioned in the Microsoft docs.
1-Supported input methods: Raw image binary in the form of an application/octet stream or image URL.
2-Supported image formats: JPEG, PNG, GIF, BMP.
3-Image file size: Less than 4 MB.
4-Image dimension: Greater than 50 x 50 pixels.