1. 引入异常机制,捕获opencv抛出的异常并转抛给PHP业务代码
2. 新增confidence可信度要求参数和modelpath模型文件夹路径
3. 修改tests中的测试demo
4. 从Prj-Linux复制model文件到tests文件夹
5. 更新readme说明
This commit is contained in:
hao
2018-07-03 14:52:22 +08:00
parent 262454fd72
commit e817b94dd8
12 changed files with 12846 additions and 74 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
<?php
//
// Created by Coleflowers on 20/06/2018.
// Updated by JustID on 03/07/2018.
//
/**
* 车牌识别PHP扩展程序测试
*/
$path = realpath("demo.png");
$res = platescan($path);
$res = platescan(realpath("demo.png"),realpath("model"),0.8);
var_dump($res);
?>