From 21a3eaec89f055b079de017524e67f0d0ef45007 Mon Sep 17 00:00:00 2001 From: hao Date: Mon, 2 Jul 2018 10:01:47 +0800 Subject: [PATCH] =?UTF-8?q?README=E6=9B=B4=E6=96=B0=EF=BC=8C=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=9C=80=E8=A6=81PHPCPP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Prj-PHP/README.MD | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/Prj-PHP/README.MD b/Prj-PHP/README.MD index 6583dae..a4c2c8c 100644 --- a/Prj-PHP/README.MD +++ b/Prj-PHP/README.MD @@ -1,6 +1,24 @@ + # Prj-PHP + HyperLPR 在PHP扩展程序中的实现,核心代码拷贝了 Prj-Linux 中庾金科大牛的代码。我做的这部分工作主要是配置编译成PHP扩展程序。 +## CPP 依赖 + ++ Opencv 3.3 ++ PHPCPP + +## Linux/Mac 编译 + +```bash +mkdir build +cd build +cmake ../ +make -j +``` + +## DEMO + ```php $path = realpath("demo.png"); $res = platescan($path); @@ -11,6 +29,3 @@ var_dump($res); // string(9) "苏ED0N19" 最终实现上边这样的PHP调用 ![image](./tests/demo.png) - - -#### 感谢各位大牛! \ No newline at end of file