ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[php-qrcode-detector-decoder](https://github.com/khanamiryan/php-qrcode-detector-decoder)基于[Zxing library](https://github.com/zxing/zxing)(谷歌推出的用来识别多种格式条形码的开源项目)而实现的 ``` <?php include_once('./qrReader/lib/QrReader.php'); $qrcode = new QrReader('./test_logo.png'); //图片路径 $text = $qrcode->text(); //返回识别后的文本 echo $text; ``` qrReader类:[https://github.com/baagee/php\_QrReader](https://github.com/baagee/php_QrReader)