Skip to content

Commit 248cc5f

Browse files
committed
Revert "add links for region identifiers"
This reverts commit c5c66cd.
1 parent c5c66cd commit 248cc5f

File tree

5 files changed

+18
-16
lines changed

5 files changed

+18
-16
lines changed

articles/cognitive-services/Face/QuickStarts/CSharp.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ method to detect faces in an image and return face attributes including:
3333
To run the sample, do the following steps:
3434

3535
1. Create a new Visual C# Console App in Visual Studio.
36-
1. Replace Program.cs with the following code.
37-
1. Replace `<Subscription Key>` with your valid subscription key.
38-
1. If necessary, change `uriBase` to the match Azure region associated with your subscription keys (see the [Face API reference docs](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236) for a list of all possible region endpoints).
39-
1. Run the program.
40-
1. At the prompt, enter the path to an image.
36+
2. Replace Program.cs with the following code.
37+
3. Replace `<Subscription Key>` with your valid subscription key.
38+
4. Change the `uriBase` value to use the location where you obtained your subscription keys, if necessary.
39+
5. Run the program.
40+
6. At the prompt, enter the path to an image.
4141

4242
### Face - Detect request
4343

articles/cognitive-services/Face/QuickStarts/Java.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ method to detect faces in an image and return face attributes including:
3333
To run the sample, do the following steps:
3434

3535
1. Create a new command-line app in your favorite Java IDE.
36-
1. Replace the Main class with the following code (keep any `package` statements).
37-
1. Replace `<Subscription Key>` with your valid subscription key.
38-
1. If necessary, change `uriBase` to match the Azure region associated with your subscription keys (see the [Face API reference docs](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236) for a list of all possible region endpoints).
39-
1. Download these global libraries from the Maven Repository to the `lib` directory in your project:
36+
2. Replace the Main class with the following code (keep any `package` statements).
37+
3. Replace `<Subscription Key>` with your valid subscription key.
38+
4. Change the `uriBase` value to use the location where you obtained your subscription keys, if necessary.
39+
5. Download these global libraries from the Maven Repository to the `lib` directory in your project:
4040
* `org.apache.httpcomponents:httpclient:4.2.4`
4141
* `org.json:json:20170516`
42-
1. Run 'Main'.
42+
6. Run 'Main'.
4343

4444
### Face - Detect request
4545

articles/cognitive-services/Face/QuickStarts/JavaScript.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ method to detect faces in an image and return face attributes including:
3333
To run the sample, do the following steps:
3434

3535
1. Copy the following and save it to a file such as `detectFaces.html`.
36-
1. Replace `<Subscription Key>` with your valid subscription key.
37-
1. If necessary, change `uriBase` to match the Azure region associated with your subscription keys (see the [Face API reference docs](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236) for a list of all possible region endpoints).
38-
1. Drag-and-drop the file into your browser.
39-
1. Click the `Analyze faces` button.
36+
2. Replace `<Subscription Key>` with your valid subscription key.
37+
3. Change the `uriBase` value to use the location where you obtained your subscription keys, if necessary.
38+
4. Drag-and-drop the file into your browser.
39+
5. Click the `Analyze faces` button.
4040

4141
### Face - Detect request
4242

articles/cognitive-services/Face/QuickStarts/Python.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To run the sample, do the following steps:
3838

3939
1. Copy the following code to a new Python script file.
4040
1. Replace `<Subscription Key>` with your valid subscription key.
41-
1. If necessary, change `face_api_url` to match the Azure region associated with your subscription keys (see the [Face API reference docs](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236) for a list of all possible region endpoints).
41+
1. Change the `face_api_url` value to the location where you obtained your subscription keys, if necessary.
4242
1. Optionally, change the `image_url` value to another image.
4343
1. Run the script.
4444

@@ -64,6 +64,8 @@ assert subscription_key
6464
# westus, replace "westcentralus" in the URI below with "westus".
6565
#
6666
# Free trial subscription keys are generated in the westus region.
67+
# If you use a free trial subscription key, you shouldn't need to change
68+
# this region.
6769
face_api_url = 'https://westcentralus.api.cognitive.microsoft.com/face/v1.0/detect'
6870

6971
# Set image_url to the URL of an image that you want to analyze.

articles/cognitive-services/Face/QuickStarts/csharp-detect-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ To run the sample, do the following steps:
4444
1. Select **Microsoft.Azure.CognitiveServices.Vision.Face** when it displays, then click the checkbox next to your project name, and **Install**.
4545
1. Replace *Program.cs* with the following code.
4646
1. Replace `<Subscription Key>` with your valid subscription key.
47-
1. Change `faceEndpoint` to the Azure region associated with your subscription keys, if necessary (see the [Face API reference docs](https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236) for a list of all possible region endpoints).
47+
1. Change `faceEndpoint` to the Azure region associated with your subscription keys, if necessary.
4848
1. Optionally, replace <`LocalImage>` with the path and file name of a local image (will be ignored if not set).
4949
1. Optionally, set `remoteImageUrl` to a different image.
5050
1. Run the program.

0 commit comments

Comments
 (0)