Skip to content

Commit a4fc4e0

Browse files
authored
Clarified
1 parent 3b7e155 commit a4fc4e0

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed
Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
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

66
let 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/
1111
let 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.
1615
let 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
2018
let url = 'https://raw.githubusercontent.com/Azure-Samples/cognitive-services-sample-data-files/master/ComputerVision/Images/printed_text.jpg';
2119
let detectOrientation = false;
2220

0 commit comments

Comments
 (0)