-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
625 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
A Pen created at CodePen.io. You can find this one at http://codepen.io/huningxin/pen/wqBvRo. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
canvas { | ||
border: 1px solid black; | ||
} | ||
.invisible { | ||
display: none; | ||
} | ||
.text-center { | ||
text-align: center; | ||
} | ||
.center-block { | ||
display: block; | ||
margin: auto; | ||
} | ||
.row { | ||
margin: 10px; | ||
} | ||
tr td { | ||
padding-right: 10px; | ||
width: 25%; | ||
vertical-align: top; | ||
font: 14px 'Lucida Grande', sans-serif; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<!DOCTYPE html> | ||
<html > | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>OpenCV.js Video Processing</title> | ||
|
||
|
||
|
||
<link rel="stylesheet" href="css/style.css"> | ||
|
||
|
||
</head> | ||
|
||
<body> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | ||
<body> | ||
<div id="container"> | ||
<table cellpadding="0" cellspacing="0" width="100%" border="0"> | ||
<tr> | ||
<td></td> | ||
<td> | ||
<div class="text-center"> | ||
<span>Current Filter: </span><span id="filterName">Pass Through</span> | ||
</div> | ||
</td> | ||
<td> | ||
<div>Select Filter:</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td></td> | ||
<td> | ||
<canvas class="center-block" id="canvasOutput" width=320 height=240></canvas> | ||
</td> | ||
<td> | ||
<div id="guiContainer"></div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
<div class="invisible"> | ||
<video id="video" class="hidden">Your browser does not support the video tag.</video> | ||
</div> | ||
</div> | ||
</body> | ||
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script> | ||
<script src="https://threejs.org/examples/js/libs/stats.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.6.5/dat.gui.min.js"></script> | ||
<script async src="https://huningxin.github.io/opencv.js/build/asm.js/opencv.js" onload="opencvIsReady()"></script> | ||
|
||
<script src="js/index.js"></script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.