-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (35 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Video and Image Processing</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Video and Image Processing</h1>
<input type="file" id="fileInput" accept="image/*,video/*">
<video id="videoPreview" controls></video>
<div id="toggles">
<label><input type="checkbox" id="rgbToggle" checked> RGB</label>
<label><input type="checkbox" id="hsvToggle" checked> HSV</label>
<label><input type="checkbox" id="hsvHToggle" checked> HSV-H</label>
<label><input type="checkbox" id="hsvSToggle" checked> HSV-S</label>
<label><input type="checkbox" id="hsvVToggle" checked> HSV-V</label>
<label><input type="checkbox" id="hslToggle" checked> HSL</label>
<label><input type="checkbox" id="xyzToggle" checked> XYZ</label>
<label><input type="checkbox" id="labToggle" checked> Lab</label>
<label><input type="checkbox" id="lutToggle" checked> LUT</label>
<label><input type="checkbox" id="cmykCToggle" checked> CMYK-C</label>
<label><input type="checkbox" id="cmykMToggle" checked> CMYK-M</label>
<label><input type="checkbox" id="cmykYToggle" checked> CMYK-Y</label>
<label><input type="checkbox" id="cmykKToggle" checked> CMYK-K</label>
</div>
<button id="processBtn">Process</button>
</div>
<!-- Load OpenCV.js -->
<script async src="https://docs.opencv.org/4.x/opencv.js"></script>
<script src="script.js"></script>
</body>
</html>