You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.MD 479 B

7 years ago
7 years ago
7 years ago
12345678910111213141516171819202122232425262728293031
  1. # Prj-PHP
  2. HyperLPR 在PHP扩展程序中的实现,核心代码拷贝了 Prj-Linux 中庾金科大牛的代码。我做的这部分工作主要是配置编译成PHP扩展程序。
  3. ## CPP 依赖
  4. + Opencv 3.3
  5. + PHPCPP
  6. ## Linux/Mac 编译
  7. ```bash
  8. mkdir build
  9. cd build
  10. cmake ../
  11. make -j
  12. ```
  13. ## DEMO
  14. ```php
  15. $path = realpath("demo.png");
  16. $res = platescan($path);
  17. var_dump($res); // string(9) "苏ED0N19"
  18. ```
  19. 最终实现上边这样的PHP调用
  20. ![image](./tests/demo.png)