摘要: 1、开启baidu-api的文字识别 2、查看官方文档 3、例子 import time import pymysql import requests from aip import AipOcr from config import dev_db from config import APP_ID 阅读全文
posted @ 2020-03-25 11:08 市丸银 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 1、安装 pip install opencv_python 2、具体代码(借鉴) import cv2 import numpy as np # 均值哈希算法 def aHash(img): # 缩放为8*8 img = cv2.resize(img, (8, 8), interpolation= 阅读全文
posted @ 2020-03-25 11:00 市丸银 阅读(307) 评论(0) 推荐(0) 编辑