-
Notifications
You must be signed in to change notification settings - Fork 3
/
index_ar.html
96 lines (82 loc) · 2.81 KB
/
index_ar.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<html lang="ar" dir = 'rtl'>
<head>
<meta charset="UTF-8" />
<title>Sketcher</title>
<!-- bs4 css -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"/>
<!-- css pie -->
<link rel="stylesheet" href="pie.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Popper JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<!-- TensorFlow.js script -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest"> </script>
<!-- canvas script -->
<script src="fabric.js"></script>
<!-- main script -->
<script src = "main.js" > </script>
<!-- main css -->
<link rel = "stylesheet" href="main.css" >
</head>
<body>
<nav class="navbar navbar-expand-sm bg-light navbar-light">
<div class="navbar-collapse collapse pull-right">
<!-- Brand/logo -->
<a class="navbar-brand " href="#"><h1>تعلم الرسومات</h1></a>
</div>
</nav>
<div class="container-fluid">
<blockquote class="blockquote text-justify" style="margin:30px;">
<p dir = 'rtl'>
أداة للتعرف على رسومات اليد. تسطتيع التعرف على 100 نوع .
تم استخدام شبكة عصبية وتدريبها على البيانات المستخدمة في Quick draw .
ابدأ برسم شيء معين في الصندوق .
</p>
<footer class="blockquote-footer">زيد اليافعي</footer>
</blockquote>
</div>
<div class="row" dir='ltr'>
<div class="col" style ='margin-left:100px;'>
<h4 id ='status'>تحميل ...</h4>
<canvas id="canvas" width="300" height="300" class="canvas" style="border:1px solid #b9bfc9;margin-top:25px;"></canvas>
<div class="btn-group" style = 'margin-top:40px; '>
<input type="range" min="5" max="20" value="10" class="slider" id="myRange" style ='margin-top:20px;'>
<button type="button" class="btn btn-outline-primary" onclick ='erase()' style ='margin-left:10px;' disabled>مسح</button>
</div>
</div>
<div class="col">
<section style="margin-top:120px">
<div class="pieID pie">
</div>
<ul class="pieID legend">
<li>
<em id = "sym1"></em>
<span id = "prob1" ></span>
</li>
<li>
<em id = "sym2"></em>
<span id = "prob2"></span>
</li>
<li>
<em id = "sym3"></em>
<span id = "prob3"></span>
</li>
<li>
<em id = "sym4"></em>
<span id = "prob4"></span>
</li>
<li>
<em id = "sym5"></em>
<span id = "prob5"></span>
</li>
</ul>
</section>
</div>
</div>
</body>
<script src="pie.js"></script>
<script>start('ar');</script>
</html>