File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1- //Copyright (c) Microsoft Corporation. All rights reserved.
2- //Licensed under the MIT License.
1+ // Copyright (c) Microsoft Corporation. All rights reserved.
2+ // Licensed under the MIT License.
33
44'use strict' ;
55
66let https = require ( 'https' ) ;
77
8- /* Add a valid Azure Computer Vision endpoint to your environment variables .
9- Example https://northeurope.api.cognitive.microsoft.com/
10- */
8+ // This sample recognizes printed text using the OCR method .
9+ // Add a valid Azure Computer Vision endpoint to your environment variables.
10+ // Example: https://northeurope.api.cognitive.microsoft.com/
1111let endpoint = process . env [ 'COMPUTER_VISION_ENDPOINT' ]
1212
13- /* Add a valid Azure Computer Vision subscription key to your environment variables.
14- Also note v5 and v7 require separate subscription keys.
15- */
13+ // Add a valid Azure Computer Vision subscription key to your environment variables.
14+ // Also note v5 and v7 require separate subscription keys.
1615let key = process . env [ 'COMPUTER_VISION_SUBSCRIPTION_KEY' ] ;
1716
18- /* Use this url image with text, or replace with your own
19- */
17+ // Use this url image with text, or replace with your own
2018let url = 'https://raw.githubusercontent.com/Azure-Samples/cognitive-services-sample-data-files/master/ComputerVision/Images/printed_text.jpg' ;
2119let detectOrientation = false ;
2220
You can’t perform that action at this time.
0 commit comments