mirror of
https://github.com/opencv/opencv.git
synced 2024-12-21 05:28:01 +08:00
67 lines
2.0 KiB
HTML
67 lines
2.0 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>OpenCV.js Performance Test</title>
|
||
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
|
||
|
<style>
|
||
|
body {
|
||
|
font-size: 13px;
|
||
|
}
|
||
|
.top-margin {
|
||
|
margin-top:10px;
|
||
|
}
|
||
|
h1, h4 {
|
||
|
margin: 24px 0 0;
|
||
|
}
|
||
|
h1 {
|
||
|
font-size: 2.0em;
|
||
|
}
|
||
|
h4 {
|
||
|
font-size: 1.2em;
|
||
|
}
|
||
|
pre {
|
||
|
font-family: 'Consolas', 'Monaco', monospace, serif;
|
||
|
font-size: 12px;
|
||
|
tab-size: 2;
|
||
|
}
|
||
|
input[type=checkbox] {
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="container" id="container">
|
||
|
<div class="row">
|
||
|
<div class="col-12">
|
||
|
<h1>OpenCV.js Performance Test</h1>
|
||
|
<div>
|
||
|
<h4>Functions for 64-bit Perf</h4>
|
||
|
<h7>CountnonZero, Mat::dot, Split, Merge</h7>
|
||
|
</div>
|
||
|
<div>
|
||
|
<h4>Mat Shape</h4>
|
||
|
<input type="text" id="params" min="1" size="40" placeholder="default: run all the case"/> for example: (1000x1000)
|
||
|
</div>
|
||
|
<div class='row labels-wrapper' id='labelitem'></div>
|
||
|
<div class="row top-margin">
|
||
|
</div>
|
||
|
<div>
|
||
|
<button type="button" id="runButton" class="btn btn-primary disabled" disabled="disabled">Loading</button>
|
||
|
(It will take several minutes)</div>
|
||
|
<div class="row top-margin">
|
||
|
</div>
|
||
|
<div>
|
||
|
<pre id="log"></pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.js"></script>
|
||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/platform/1.3.5/platform.js"></script>
|
||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/2.1.4/benchmark.js"></script>
|
||
|
<script src="../opencv.js" type="text/javascript"></script>
|
||
|
<script src="./perf_64bits.js"></script>
|
||
|
</body>
|
||
|
</html>
|