/text-recognition-using-azure-cognitive-services

Samples using Azure storages, Azure cognitive services, Azure Functions with blob triggers and Cosmos DB output binding for Azure Functions

Primary LanguageC#

Text Recognition Using Azure Cognitive Services

Samples using Azure storages, Azure cognitive services, Azure Functions with blob triggers and Cosmos DB output binding for Azure Functions

alt text

Getting started

Prerequisites

  • .NET Core 3.1
  • Azure Cognitive Services
  • Azure Storage Account
  • Azure Function
  • CosmosDB

Running the Sample

  1. Load TextRecognition solution in Visual Studio.
  2. Create local.settings.json file at root of directory.
  3. Add following JSON at local.settings.json
{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "",
    "CosmosDBConnection": "",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet",
    "COMPUTER_VISION_SUBSCRIPTION_KEY": "",
    "COMPUTER_VISION_ENDPOINT": ""
  }
}
  1. Create a Container image-text at Azure Storage
  2. Hit F5
  3. Upload a File at Azure Storage

Resources