Image To Text OCR

FREEMIUM
By AI Touch | Updated 2 days ago | Visual Recognition
Popularity

8 / 10

Latency

1,007ms

Service Level

100%

Health Check

N/A

Back to All Discussions

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 a year ago

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’)}

Join in the discussion - add comment below:

Login / Signup to post new comments