mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
c82417697a
[GSoC] OpenCV.js: WASM SIMD optimization 2.0 * gsoc_2020_simd Add perf test for filter2d * add perf test for kernel scharr and kernel gaussianBlur * add perf test for blur, medianBlur, erode, dilate * fix the errors for the opencv PR robot fix the trailing whitespace. * add perf tests for kernel remap, warpAffine, warpPersepective, pyrDown * fix a bug in modules/js/perf/perf_imgproc/perf_remap.js * add function smoothBorder in helpfun.js and remove replicated function in perf test of warpAffine and warpPrespective * fix the trailing white space issues * add OpenCV.js loader * Implement the Loader with help of WebAssembly Feature Detection, remove trailing whitespaces * modify the explantion for loader in js_setup.markdown and fix bug in loader.js
73 lines
2.2 KiB
HTML
73 lines
2.2 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>Modules</h4>
|
|
<h7>Image Processing</h7>
|
|
</div>
|
|
<div>
|
|
<h4>Kernels</h4>
|
|
<h7>pyrDown</h7>
|
|
</div>
|
|
<div>
|
|
<h4>Parameters Filter</h4>
|
|
<input type="text" id="params" min="1" size="40" placeholder="default: run all the case"/> for example: (1920x1080, CV_8UC3)
|
|
</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="../base.js"></script>
|
|
<script src="../perf_helpfunc.js"></script>
|
|
<script src="./perf_pyrDown.js"></script>
|
|
</body>
|
|
</html> |