久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      簡析thinkphp5.0如何使用數(shù)字識別接口

      下面thinkphp框架教程欄目將給大家簡析thinkphp5.0如何使用數(shù)字識別接口,希望對需要的朋友有所幫助!

      簡析thinkphp5.0如何使用數(shù)字識別接口

      tp5.0 使用數(shù)字識別接口

      第一步:

      去百度智能云下載數(shù)字識別的SDK, 只需要保留 AipOcr.php 以及l(fā)ib文件夾

      第二步:

      將上述兩個(gè)文件放到一個(gè)文件夾中 上傳至tp項(xiàng)目/extend下

      第三步:

      引入該類

            thinkLoader::import('OCR/AipOcr',EXTEND_PATH);         $client = new AipOcr('AppID', 'API Key', 'Secret Key');         $image = file_get_contents('圖片路徑');          // 調(diào)用數(shù)字識別         $result = $client->numbers($image);         halt($result);

      推薦:《最新的10個(gè)thinkphp視頻教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號