Created
July 23, 2018 18:32
-
-
Save AkhandMishratruth/223525b0ac85c47df346d8c12d8bd32d to your computer and use it in GitHub Desktop.
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
#Defining base url for API call. | |
base_url = "https://westcentralus.api.cognitive.microsoft.com/vision/v1.0/" | |
ocr_url = base_url + "ocr" | |
#Defining subscription key and headers for subscription key. | |
sub = "98f714r6vb2e193018b28fg1u9b3b0d7e7" | |
headers = {'Ocp-Apim-Subscription-Key': sub} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment