经常有查下自己的车有没有违章,所以写了现在这个脚本,帮助查询自己的车是否违章。
主要用到,带cookie模拟表单提交和验证码识别。
Tesseract-OCR
验证码识别技术,Tesseract-OCR:https://github.com/tesseract-ocr/tesseract
安装教程:https://github.com/tesseract-ocr/tesseract
Tesseract-Ocr-For-PHP
把需要执行的命令,封装了一下
https://github.com/thiagoalessio/tesseract-ocr-for-php
直接上脚本,没进行什么优化,简