-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (26 loc) · 938 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
<html>
<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">
<title>Text recognition in web AR</title>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="js/aframe-ar.js"></script>
<script src="js/aframe-glmol.js"></script>
<script src="js/capture-video-frame.js"></script>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="container">
<div id="recognized">I see: </div>
</div>
<img id="recognize" src="files/icon.png" />
<a-scene arjs vr-mode-ui="enabled: false">
<a-marker preset="kanji">
<a-entity id="molStructure" glmol scale="1.2 1 1"></a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
<script src="js/main.js"></script>
</body>
</html>