Gemma 3 is Google’s open-weight model family, and its 4B build understands images as well as text. Ollama ships it with vision support, so you can ask about a photo without uploading it anywhere. This guide pulls the model, sends it a local image, and checks the description against what is actually in the picture.
Before you start
- Ollama installed and running.
- At least 8 GB of free RAM for the 4B build, plus about 3 GB of free disk.
- A photo file on your machine, such as a JPG or PNG.
Pull the model
Download the 4B build:
ollama pull gemma3:4b
Then start a chat:
ollama run gemma3:4b
Attach the image
In the Ollama chat, drag the image file into the terminal window or paste its path when prompted, depending on your terminal. Then ask a specific question about the image, such as what objects are in it or what the text in it says.
Check the description against the photo
Open the photo yourself and compare each claim in the reply: objects, colours, counts and any text. Vision models can invent details, so treat the description as a draft, not a fact.
Worked example
Sample prompt, with a photo of a red bicycle leaning against a brick wall:
Describe this photo in three sentences: what is in it, what colour is the bicycle, and what is behind it?
The expected description names a red bicycle, a brick wall behind it, and the ground or pavement it stands on. If the model names a colour or object that is not in the photo, that is a hallucination: note it and re-ask with a narrower question.
Expected result
UNTESTED in this guide: no image chat was run while writing it. The expected result is that Gemma 3 describes the red bicycle and the brick wall in three sentences, and the description matches the photo when you check it by eye.
Limitations
Gemma 3’s vision is good for everyday photos but it can misread small text, counts and fine detail. The 4B build is the smallest vision size; larger Gemma 3 builds need more memory. The model only sees the image you attach.
