python如何调用百度识图api
一.先去百度识别官网注册开通服务且获得ak和sk 链接:https://cloud.baidu.com/doc/Reference/s/9jwvz2egb 二.代码模板 import cv2 import base64 import requests import numpy as np import traceback from retrying import retry token_list=[ { ak:xxxxxx, sk:xxxxxxxxxx }, ] def get_token(ak,sk): url = https://aip.ba