-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
137 lines (124 loc) · 6.99 KB
/
Copy pathindex.html
File metadata and controls
137 lines (124 loc) · 6.99 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!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">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@500&family=Oswald:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="app.js"></script>
<title>Title</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light rounded text-light bg-dark" >
<a class="navbar-brand" href="#"><img src="images/logo.png" alt="CSEC-ASTU Geez digit recognition" style="height: 40px; border-radius: 50%; "></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample09" aria-controls="navbarsExample09" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse text-light" id="navbarsExample09">
<ul class="navbar-nav ml-auto text-light">
<li class="nav-item active">
<a class="nav-link" href="#home">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#image">Upload Image</a>
</li>
<li class="nav-item">
<a class="nav-link" href="canvas.html">Draw Number</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#footer">About</a>
</li>
</ul>
</div>
</nav>
<section class="top text-light d-flex align-items-end" id="home">
<div class="mb-5 ml-5 mr-auto overlay" >
<h1>
Amharic Hand Written Digit Recognition Mobile App
</h1>
<p>
This is a Machine Learning Project that is able to identify Geez numbers from images.
</p>
<button class="btn btn-outline-light justify-center" style="transform: scale(1.5); margin-left: 20px; border-radius: 25rem; color: black; background-color: white;">
Continue
</button>
</div>
</section>
<section class="text-dark d-flex align-items-end" id="image">
<div class="container py-5">
<!-- For demo purpose -->
<header class="text-dark text-center">
<h1 class="display-4">Upload your image here.</h1>
<p>or</p>
<a href="indexs.html" class="btn btn-dark text-large">
Draw
</a>
<div class="image-area mt-4" ><img id="imageResult"style="height: 250px;!important" src="#" alt="" class="img-fluid rounded shadow-sm mx-auto d-block"></div>
</header>
<div class="row py-4">
<div class="col-lg-6 mx-auto">
<form id="form" onsubmit="formSubmit(event)" enctype="multipart/form-data">
<!-- Upload image input-->
<div class="input-group mb-3 px-2 py-2 rounded-pill bg-dark shadow-sm">
<input required id="upload" name="image" type="file" onchange="readURL(this);" class="form-control border-0">
<label id="upload-label" for="upload" class="font-weight-light text-muted">Choose file</label>
<div class="input-group-append">
<label for="upload" class="btn btn-light m-0 rounded-pill px-4"> <i class="fa fa-cloud-upload mr-2 text-muted"></i><small class="text-uppercase font-weight-bold text-muted">Choose file</small></label>
</div>
</div>
<div class="d-flex flex-column justify-content-center">
<button class="btn btn-outline-dark" style="border-radius: 25rem;">
Sumbit
</button>
<h3 id='result' class="text-center pt-4 d-none">
The Number is <span id="number"></span>
</h3>
</div>
</form>
</div>
</div>
</div>
</section>
<section class="footer text-light d-flex justify-start" id="footer">
<div class="title d-flex align-center" style="height: 20vh;">
<img src="images/logo.png" alt="CSEC-ASTU Geez digit recognition" style="height: 50%; border-radius: 50%; padding: 25px;">
<p>CSEC-ASTU</p>
</div>
<div class="body d-flex justify-start flex-wrap">
<div class="links d-flex">
<p>Frontend Developer</p>
<ul>
<li><a href="https://mohaali482.github.io/me"> > Mohammed Ali < </a></li>
</ul>
</div>
<div class="links">
<p>Backend Developer(API)</p>
<ul>
<li><a href=""> > Mukerem Ali < </a></li>
</ul>
</div>
<div class="links">
<p>Telegram Bot Developer</p>
<ul>
<li><a href="https://mohaali482.github.io/me"> > Mohammed Ali < </a></li>
</ul>
</div>
</div>
<div class="foot">
CSEC-ASTU © 2021-2022
</div>
</section>
<script src="canvas.js"></script>
</body>
</html>