Image To Text OCR

फ्रीमियम
द्वारा VehicleInsights | अपडेट किया गया לפני חודש | Visual Recognition
लोकप्रियता

7.8 / 10

लेटेंसी

1,738ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

How does the base62 ting work?

Rapid account: Moradeveloper Xn Ngc L 7 J Wy
moradeveloper-xnNgcL7JWy
לפני שנה

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

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें