Image To Text OCR

FREEMIUM
Door VehicleInsights | Bijgewerkt 한 달 전 | Visual Recognition
Populariteit

8.1 / 10

Latency

1,070ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

How does the base62 ting work?

This didnt work. Can you please help me out?

payload = { “imageUrl”: base64.b64encode(open("/path/to/pic/bot.jpg", “rb”).read()) }

Rapid account: Dominonet L Tp EE 6 Z O Ne S
dominonet-lTpEE6zONeS Commented 일 년 전

with open(’/path/to/pic/bot.jpg’, ‘rb’) as f:
image_data = f.read()
base64_str = base64.b64encode(image_data)
payload = { “imageUrl”: ‘data:image/jpeg;base64,’ + base64_str.decode(‘utf-8’)}

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen