Azure Subscription Key

17 views
Skip to first unread message

Isaac Collins

unread,
Jun 30, 2021, 11:53:19 AM6/30/21
to OpenMPF
Hello,

I am currently trying to get Azure Cognitive Services up and running on the OpenMPF Workflow Manager but am having problems finding the correct Azure Subscription Key and/or endpoint URL. 

From Jeff:

Each component has a README in their top-level directory. Here's the one for the Azure OCR component.

 

Take a look at the example docker-compose.yml file here. You will see this entry:


  # azure_ocr_text_detection:  #   <<: *detection-component-base  #   image: openmpf/openmpf_azure_ocr_text_detection:latest  #   environment:  #     MPF_PROP_ACS_URL: https://eastus.api.cognitive.microsoft.com/vision/v1.0/ocr  #     MPF_PROP_ACS_SUBSCRIPTION_KEY: <Your Azure subscription key goes here.>

 

You want to add that entry to your docker-compose.yml file. Uncomment those lines and provide valid values for the two environment variables. Then restart your deployment. You will either need to already have an Azure account with access to that service, or create a free trial account. See here. I don't know what the free trial account provides access to.

If you look at the pipelines section of the component's descriptor.json, you can see which pipelines will be available to run jobs in the Workflow Manager web UI once that component is up and running.

- Jeff


If anyone has any helpful knowledge this topic, please feel free to add to this conversation.

Thanks,

Isaac


Jeffrey Robble

unread,
Jun 30, 2021, 12:12:33 PM6/30/21
to OpenMPF
The Azure OCR REST endpoint is part of the Azure Computer Vision API. The prerequisites steps here may help you.

- Jeff

Reply all
Reply to author
Forward
0 new messages