-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtarget_qr_demo_3d.html
executable file
·37 lines (31 loc) · 1.26 KB
/
target_qr_demo_3d.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
<!doctype html>
<html lang="en">
<head>
<title>Web AR - 3d model</title>
<meta charset="utf-8">
<style>
video, canvas {
margin-left: 10px;
margin-top: 10px;
position: absolute;
}
</style>
</head>
<body style="margin: 0;">
<div class="demo-container" >
<video id="video" width="400" height="300" autoplay></video>
<canvas id="canvas" width="400" height="300"></canvas>
</div>
<script type="text/javascript" src="scripts/lib/aruco/polyfill.js"></script>
<script type="text/javascript" src="scripts/lib/aruco/cv.js"></script>
<script type="text/javascript" src="scripts/lib/aruco/aruco.js"></script>
<script type="text/javascript" src="scripts/lib/aruco/svd.js"></script>
<script type="text/javascript" src="scripts/lib/aruco/posit1.js"></script>
<script type="text/javascript" src="scripts/lib/three/Three.js"></script>
<!-- <script type="text/javascript" src="scripts/lib/three/three.min.js"></script>-->
<script type="text/javascript" src="scripts/ar_base.js"></script>
<script type="text/javascript" src="scripts/src/QRDetectionUtils.js"></script>
<!--Main-->
<script type="text/javascript" src="scripts/main_3d_model.js"></script>
</body>
</html>