This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
/
celebrities.html
73 lines (70 loc) · 3.07 KB
/
celebrities.html
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<title>Celebrity</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="page">
<div class="title"><h2>Celebrity</h2></div>
<div class="container">
<div class="navigation">
Select a feature:
<ul>
<li><a href="analyze.html" id="analyzeLink">Analyze</a></li>
<li><a href="landmark.html" id="landmarkLink">Landmark</a></li>
<li><a href="celebrities.html" id="celebritiesLink">Celebrity</a></li>
<li><a href="thumbnail.html" id="thumbnailLink">Thumbnail</a></li>
<li><a href="ocr.html" id="ocrLink">OCR</a></li>
<li><a href="handwriting.html" id="handwritingLink">Read Handwritten Text</a></li>
</ul>
</div>
<div class="userInterface">
Enter the URL to an image of a celebrity, then click the <strong>Analyze image</strong> button.
<br><br>
Celebrity image to analyze: <input type="text" name="inputImage" id="inputImage" value="Enter image URL here." />
<button onclick="celebritiesButtonClick()">Analyze Image</button>
<br><br>
<div class="wrapper">
<div class="jsonOutput">
Response:
<br><br>
<textarea id="responseTextArea" class="UIInput"></textarea>
</div>
<div class="pad"></div>
<div class="imageDiv">
Source image:<br>
<span id="captionSpan"></span><br>
<img id="sourceImage" onerror="common.imageLoadError()"/>
</div>
</div>
<div class="subKeyDiv">
Subscription Key:
<input
type="text"
class="subKeyInput"
name="subscriptionKeyInput"
id="subscriptionKeyInput"
onchange="common.subscriptionChange()"
value="Copy/paste your subscription key here." />
Subscription Region:
<select name="subscriptionRegionSelect" id="subscriptionRegionSelect" onchange="common.subscriptionChange()">
<option value="westcentralus">westcentralus</option>
<option value="westus">westus</option>
<option value="eastus2">eastus2</option>
<option value="westeurope">westeurope</option>
<option value="southeastasia">southeastasia</option>
</select>
</div>
</div>
</div>
</div>
</body>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript">
function celebritiesButtonClick() {
// Replace these two lines with the Celebrities Image event handling code.
document.getElementById("responseTextArea").value = "The tutorial code for this feature has not been added.";
}
</script>