Image To Text OCR

FREEMIUM
Par VehicleInsights | Mise à jour vor einem Monat | Visual Recognition
Popularité

7.8 / 10

Latence

1,738ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

How does the base62 ting work?

Rapid account: Moradeveloper Xn Ngc L 7 J Wy

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 vor einem Jahr

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

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires