-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (57 loc) · 1.7 KB
/
index.html
File metadata and controls
58 lines (57 loc) · 1.7 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
54
55
56
57
58
<!DOCTYPE html>
<html>
<head>
<title>iPin OCR System</title>
<meta charset="utf-8"/>
<style>
#allContent {
width: 1500px;
margin: 0 auto;
text-align: center;
}
#allContent h1 {
margin: 40px 0;
}
#allContent div#left {
width: 46%;
float: left;
border-right: solid #000 1px;
}
#allContent div#right {
width: 53%;
float: right;
}
#allContent div#right p {
text-align: left;
margin: 10px 20px 10px 20px;
line-height: 12px;
}
#allContent div#left img {
width: 650px;
margin: 20px auto;
}
</style>
</head>
<body>
<div id="allContent">
<h1>iPIN OCR System</h1>
<div>
<div id="left">
<form id="form1" action="/" enctype="multipart/form-data" method="POST">
<input type="file" name="file">
<input type="submit" value="upload" />
</form>
<img src={{src}} id="img" />
</div>
<div id="right">
<form id="form2" action="/reco" method="GET">
<input type="submit" value="Recognize" />
</form>
{% for text in recoText %}
<p>{{text}}</p>
{% end %}
</div>
</div>
</div>
</body>
</html>