Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
lisiyuan 8aae75d2a2 | 6 years ago | |
---|---|---|
.. | ||
include | 6 years ago | |
lpr | 6 years ago | |
tests | 6 years ago | |
CMakeLists.txt | 6 years ago | |
README.MD | 6 years ago | |
main.cpp | 6 years ago | |
platescan.ini | 6 years ago |
HyperLPR 在PHP扩展程序中的实现,核心代码拷贝了 Prj-Linux 中的代码。
mkdir build
cd build
cmake ../
make -j
// 也可编译完后直接在tests目录直接运行 php platescan.php
$path = realpath("demo.png"); // 图片文件所在路径,realpath转为绝对路径
$model = realpath("model"); // 模型资源所在文件夹
$res = platescan($path, $model, 0.8);
var_dump($res); // string(9) "苏ED0N19"
最终实现上边这样的PHP调用
经多次测试发现部分图片难以识别或者容易识别错误,经过筛选反推出如下规律:
高性能开源中文车牌识别框架
C++ Java C Python CMake other