美丽心灵公益论坛's Archiver
论坛
›
willsonlincake之家
› 免费的OCR接口
willsonlincake
发表于 2022-4-5 11:08:00
免费的OCR接口
import requests
url = "https://freeocrapi.com/api"
filename = "test.jpg"
data = {'file': open(filename, 'rb')}
response = requests.request("POST", url, files=data)
print(response.text)
页:
[1]
查看完整版本:
免费的OCR接口