Graduate

HTML

......@@ -106,7 +106,7 @@ def verify():
image = base64.b64decode(request.form['image'])
image_np = np.frombuffer(image, dtype=np.uint8)
image_np = cv2.imdecode(image_np, cv2.IMREAD_UNCHANGED)
print(get_brightness(image_np))
# print(get_brightness(image_np))
image_np = cv2.cvtColor(image_np, cv2.COLOR_BGR2RGB)
image_np = prewhiten(image_np)
image_np = resize(image_np)
......
......@@ -195,11 +195,9 @@ function main()
<p>Made by <span class="w3-tag">정해갑</span></p>
</header>
<div class="w3-row", style='text-align:center'>
<div id="container">
<video autoplay="true" id="videoInput" style="display: none; object-fit: cover;"></video>
<canvas id="canvasOutput"></canvas>
</div>
<div id="container">
<video autoplay="true" id="videoInput" style="display: none; object-fit: cover;"></video>
<canvas id="canvasOutput"></canvas>
</div>
</div>
</body>
......