New Tool Radar

Local AI

How to Run Qwen2-VL with Ollama to Describe an Image

Run Alibaba's Qwen2-VL locally with Ollama and ask it to read a photo and its text.

Schematic illustration with three step boxes for How to Run Qwen2-VL with Ollama to Describe an Image.

Qwen2-VL is Alibaba’s vision-language model, and the 7B build is a practical size for a laptop. Ollama ships it under the qwen2-vl tag. This guide pulls it, asks it about a photo that contains text, and checks the reading against the photo itself.

Before you start

  • Ollama installed and running.
  • At least 8 GB of free RAM for the 7B build, plus about 5 GB of free disk.
  • A photo that contains readable text, such as a shop sign.

Pull the model

Download the 7B build:

ollama pull qwen2-vl:7b

Then start a chat:

ollama run qwen2-vl:7b

Attach the image and ask it to read the text

Attach the photo and ask the model to transcribe the text it can see, word for word. Then ask one question about the scene, such as what the shop sells.

Check the transcription against the photo

Open the photo and compare every word. Vision models can misread letters and numbers, so check the transcription character by character before using it.

Worked example

Sample prompt, with a photo of a bakery sign reading “Fresh bread daily”:

Transcribe the text on the sign in this photo, word for word. Then say in one sentence what the shop sells.

The expected transcription is “Fresh bread daily” and the sentence should say the shop sells bread. If a word is wrong, the model misread the sign.

Expected result

UNTESTED in this guide: no image chat was run while writing it. The expected result is the transcription “Fresh bread daily” and a sentence saying the shop sells bread.

Limitations

Qwen2-VL reads text in images better than many small vision models, but it can still misread handwriting, small print and numbers. Check every transcription against the photo before using it.

Sources

See all