-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathImageRecog.http
More file actions
54 lines (45 loc) · 2 KB
/
ImageRecog.http
File metadata and controls
54 lines (45 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#########################
# Computer Vision - DOG #
#########################
# Computer Vision (Microsoft Trained Model) with a dog photo
# https://westus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/
GET http://1.bp.blogspot.com/-tTKQzYelLXw/UOMOFot4pRI/AAAAAAAAAEE/wyFoaSSI06I/s1600/cute-pets-maltese-dog-pictures+(8).jpg
####
POST {{computerVisionEndpoint}}/vision/v3.2/analyze?language=en
&model-version=latest
Ocp-Apim-Subscription-Key: {{computerVisionSubscription}}
Content-Type: application/json
{
"url": "http://1.bp.blogspot.com/-tTKQzYelLXw/UOMOFot4pRI/AAAAAAAAAEE/wyFoaSSI06I/s1600/cute-pets-maltese-dog-pictures+(8).jpg"
}
#########################
# Custom Vision - VALID #
#########################
# Replace this GUID with a modelID for a project you have created yourself in the Custom Vision portal.
@modelGuid = 5c44adc1-5567-4a14-a9fe-3bfaae044128
# https://www.customvision.ai/
####
# Custom Vision (Custom Trained) with a license plate here
# VALID Lcense Plate
GET https://upload.wikimedia.org/wikipedia/commons/9/90/1996_California_license_plate_5PPP064_Flickr_-_woody1778a.jpg
####
POST {{customVisionEndpoint}}/customvision/v3.0/Prediction/{{modelGuid}}/classify/iterations/Iteration1/url
Prediction-Key: {{customVisionSubscription}}
Content-Type: application/json
{
"url": "https://upload.wikimedia.org/wikipedia/commons/9/90/1996_California_license_plate_5PPP064_Flickr_-_woody1778a.jpg"
}
###########################
# Custom Vision - INVALID #
###########################
####
# Custom Vision (Custom Trained) with a license plate here
# INVALID Lcense Plate
GET https://www.mercurynews.com/wp-content/uploads/2016/08/20100105_102007_1.5.specializedlicenseplate.jpg?w=600
####
POST {{customVisionEndpoint}}/customvision/v3.0/Prediction/{{modelGuid}}/classify/iterations/Iteration1/url
Prediction-Key: {{customVisionSubscription}}
Content-Type: application/json
{
"url": "https://www.mercurynews.com/wp-content/uploads/2016/08/20100105_102007_1.5.specializedlicenseplate.jpg?w=600"
}