-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
29 lines (26 loc) · 943 Bytes
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Image Captioner</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="analyzeimage.js"></script>
</head>
<body>
<h1>Analyze image:</h1>
Enter the URL to an image, then click the <strong>Analyze image</strong> button to receive suggested captions.
<br><br>
Image to analyze: <input type="text" name="inputImage" id="inputImage"/>
<button id="button">Analyze image</button>
<br><br>
<div id="wrapper" style="width:1020px; display:table;">
<div id="imageDiv" style="width:420px; display:table-cell;">
Source image:
<img id="sourceImage" width="400" />
</div>
<div id="jsonOutput" style="width:600px; display:table-cell;">
Suggested Captions:
<textarea id="responseTextArea" class="UIInput" style="width:580px; height:400px;"></textarea>
</div>
</div>
</body>
</html>