Image to text demo with @huggingface/inference

First, input your token if you have one! Otherwise, you may encounter rate limiting. You can create a token for free at hf.co/settings/tokens

Pick the model you want to run. Check out over 100 models for image to text here. The default model is for image captioning, but you can do text extraction, ...

Finally the input image

Output logs

Output will be here

Check out the source code