07 2021 档案
摘要:步骤: 1. 创建OCR应用,获取API Key和Secret Key; 2. 查看接口文档,文字识别OCR (baidu.com); 3. 编写代码; 代码如下: 1. 获取token /** * 获取API访问token * 该token有一定的有效期,需要自行管理,当失效时需重新获取. * @
阅读全文
摘要:调用百度地图API获取经纬坐标 /** * 获取地址经纬度 */ @Test public void getLatAndLon() { String url = "http://api.map.baidu.com/geocoding/v3/"; Map<String, String> params
阅读全文
摘要:多个长度集合拼接出想要长度的组合 import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @program: world * @description: 多个长度集合拼接出想要长度的组合 * @author: XinHai.Ma
阅读全文

浙公网安备 33010602011771号