deepin-ocr/3rdparty/opencv-4.5.4/modules/js/perf
wangzhengyang 718c41634f feat: 切换后端至PaddleOCR-NCNN,切换工程为CMake
1.项目后端整体迁移至PaddleOCR-NCNN算法,已通过基本的兼容性测试
2.工程改为使用CMake组织,后续为了更好地兼容第三方库,不再提供QMake工程
3.重整权利声明文件,重整代码工程,确保最小化侵权风险

Log: 切换后端至PaddleOCR-NCNN,切换工程为CMake
Change-Id: I4d5d2c5d37505a4a24b389b1a4c5d12f17bfa38c
2022-05-10 10:22:11 +08:00
..
perf_imgproc feat: 切换后端至PaddleOCR-NCNN,切换工程为CMake 2022-05-10 10:22:11 +08:00
base.js feat: 切换后端至PaddleOCR-NCNN,切换工程为CMake 2022-05-10 10:22:11 +08:00
package.json feat: 切换后端至PaddleOCR-NCNN,切换工程为CMake 2022-05-10 10:22:11 +08:00
perf_64bits.html feat: 切换后端至PaddleOCR-NCNN,切换工程为CMake 2022-05-10 10:22:11 +08:00
perf_64bits.js feat: 切换后端至PaddleOCR-NCNN,切换工程为CMake 2022-05-10 10:22:11 +08:00
perf_helpfunc.js feat: 切换后端至PaddleOCR-NCNN,切换工程为CMake 2022-05-10 10:22:11 +08:00
README.md feat: 切换后端至PaddleOCR-NCNN,切换工程为CMake 2022-05-10 10:22:11 +08:00

OpenCV.js Performance Test

Node.js Version

Prerequisites

  1. node.js, npm: Make sure you have installed these beforehand with the system package manager.

  2. Benchmark.js: Make sure you have installed Benchmark.js by npm before use. Please run npm install in the directory <build_dir>/bin/perf.

How to Use

For example, if you want to test the performance of cvtColor, please run perf_cvtcolor.js by node in terminal:

node perf_cvtcolor.js

All tests of cvtColor will be run by above command.

If you just want to run one specific case, please use --test_param_filter="()" flag, like:

node perf_cvtcolor.js --test_param_filter="(1920x1080, COLOR_BGR2GRAY)"

Browser Version

How to Use

To run performance tests, please launch a local web server in <build_dir>/bin folder. For example, node http-server which serves on localhost:8080.

Navigate the web browser to the kernel page you want to test, like http://localhost:8080/perf/imgproc/cvtcolor.html.

You can input the parameter, and then click the Run button to run the specific case, or it will run all the cases.