-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
72 lines (68 loc) · 2.26 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
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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Opencv JS</title>
<script src="https://unpkg.com/wasm-feature-detect/dist/umd/index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
<script async src="js/model.js" ></script>
<script async src="js/loader.js" onload="loadOpenCV1();"></script>
<script async src="js/qcm.js" ></script>
<script async src="js/app.js" ></script>
</head>
<body>
<img id="canvasInput0" src="nomVide.png"></img>
<BR>
<img id="canvasInput1" src="nomPlein.png"></img>
<BR>
<img id="canvasInput2" src="test3.png"></img>
<BR>
<!-- <img id="canvasInput3" src="input4.png"></img>-->
<!-- <BR>
<img id="canvasInput4" src="test5.png"></img>
<BR>
<img id="canvasInput5" src="test6.png"></img>
<BR>
<img id="canvasInput6" src="test7.png"></img>-->
<BR>
<p id="result0"></p>
<p id="result1"></p>
<p id="result2"></p>
<p id="result3"></p>
<p id="result4"></p>
<p id="result5"></p>
<p id="result6"></p>
<BR>
<canvas id="canvas_output0"></canvas>
<BR>
<canvas id="canvas_output1"></canvas>
<BR>
<canvas id="canvas_output2"></canvas>
<BR>
<canvas id="canvas_output3"></canvas>
<BR>
<canvas id="canvas_output4"></canvas>
<BR>
<canvas id="canvas_output5"></canvas>
<BR>
<canvas id="canvas_output6"></canvas>
<BR>
<canvas id="canvas_output7"></canvas>
<!-- <canvas id="canvas_output1"></canvas>
<BR>
<canvas id="canvas_output2"></canvas>
<BR>
<canvas id="canvas_output3"></canvas>
<BR>
<canvas id="canvas_output4"></canvas>
<BR>
<canvas id="canvas_output5"></canvas>-->
</body>
<script language="JavaScript">
function loadOpenCV1(){
loadOpenCV({wasm : 'js/opencv.js'}, ()=> {
onRuntimeInitialized();
})
}
</script>
</html>