EasyOCR
Use the EasyOCR multilingual OCR model through our Serverless Cloud API
Code sample
3
Run the model
import os
import supervision as sv
from inference_sdk import InferenceHTTPClient
image = sv.load_image_from_url("https://media.roboflow.com/swift.png")
client = InferenceHTTPClient(
api_url="https://serverless.roboflow.com",
api_key=os.environ["ROBOFLOW_API_KEY"],
)
result = client.ocr_image(
inference_input=image,
model="easy_ocr",
language_codes=["en"],
)
print(result["result"]) # Extracted textwas thinking earlier today that have gone through, to use the lingo, eras Of listening to each of Swift's Eras. Meta indeed: started listening to Ms. Swift's music after hearing the Midnights album: few weeks after hearing the album for the first time, found myself playing various songs on repeat. listened to the album in order multiple times:Inference speed
Model
Latency (ms)
Last updated
Was this helpful?