Image To Text OCR

פרמיום
על ידי VehicleInsights | מְעוּדכָּן il y a un mois | Visual Recognition
פּוֹפּוּלָרִיוּת

7.8 / 10

חֶבִיוֹן

1,738ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

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 il y a un an

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

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות