-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (39 loc) · 1.84 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="icon" href="img/favicon.png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<title>Optical character recognition from image</title>
</head>
<body>
<div class="container">
<div class="input-group mb-3">
<input type="file" class="form-control" id="inputGroupFile04" aria-describedby="inputGroupFileAddon04"
aria-label="Upload" accept=".jpg, .png, .jpeg, .gif, .bmp, .tif, .tiff|image/*">
<button class="btn btn-success" type="button" id="inputGroupFileAddon04">Start</button>
</div>
<div class="input-group">
<div id="status" class="alert alert-secondary progress form-control" role="alert">I'm ready...</div>
<button class="btn btn-info" type="button" id="copy" onclick="copyText();" >Copy Text</button>
</div>
<div class="bottom">
<div>
<img src="">
</div>
<div>
<textarea id="txt_copy" placeholder="text" readonly></textarea>
</div>
</div>
</div>
<script src="https://unpkg.com/[email protected]/dist/tesseract.min.js"></script>
<script src="js//main.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
crossorigin="anonymous"></script>
</body>
</html>