perf_remap.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>OpenCV.js Performance Test</title>
  6. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
  7. <style>
  8. body {
  9. font-size: 13px;
  10. }
  11. .top-margin {
  12. margin-top:10px;
  13. }
  14. h1, h4 {
  15. margin: 24px 0 0;
  16. }
  17. h1 {
  18. font-size: 2.0em;
  19. }
  20. h4 {
  21. font-size: 1.2em;
  22. }
  23. pre {
  24. font-family: 'Consolas', 'Monaco', monospace, serif;
  25. font-size: 12px;
  26. tab-size: 2;
  27. }
  28. input[type=checkbox] {
  29. vertical-align: middle;
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <div class="container" id="container">
  35. <div class="row">
  36. <div class="col-12">
  37. <h1>OpenCV.js Performance Test</h1>
  38. <div>
  39. <h4>Modules</h4>
  40. <h7>Image Processing</h7>
  41. </div>
  42. <div>
  43. <h4>Kernels</h4>
  44. <h7>Remap</h7>
  45. </div>
  46. <div>
  47. <h4>Parameters Filter</h4>
  48. <input type="text" id="params" min="1" size="40" placeholder="default: run all the case"/> for example: (640x480, CV_16UC1, CV_16SC2, INTER_NEAREST)
  49. </div>
  50. <div class='row labels-wrapper' id='labelitem'></div>
  51. <div class="row top-margin">
  52. </div>
  53. <div>
  54. <button type="button" id="runButton" class="btn btn-primary disabled" disabled="disabled">Loading</button>
  55. (It will take several minutes)</div>
  56. <div class="row top-margin">
  57. </div>
  58. <div>
  59. <pre id="log"></pre>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.js"></script>
  65. <script src="https://cdnjs.cloudflare.com/ajax/libs/platform/1.3.5/platform.js"></script>
  66. <script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/2.1.4/benchmark.js"></script>
  67. <script src="../../opencv.js" type="text/javascript"></script>
  68. <script src="../base.js"></script>
  69. <script src="../perf_helpfunc.js"></script>
  70. <script src="./perf_remap.js"></script>
  71. </body>
  72. </html>