Image descriptions (vision)
Images in your folders — photographs, diagrams, screenshots without text — are usually not found by search, because there is nothing to search them by: they contain no text. This task makes a model look at the image and describe it in words, and the description becomes part of the search.
Why you need it
After description, things that are not written as text in the image become findable: “a camel in a hat”, “a plumbing diagram”, “a photograph of a cat”. The search looks through the description just as it does through a document’s text.
This is a separate task
A collection scan does not start it, and it does not start a scan. Processing goes one image at a time, and the result of each is remembered: you can stop and continue later — images already described are not redone.
What is configured here
- Model (with vision) — the model that looks at images. Type the name and click “Connect the model”; “Test on a picture” will show how it describes one of your images.
- Per run — how many images to process in one run.
- only without text — skip scans and images whose text is already recognised: their description matters less.
- redo the described ones — describe again what has already been described, for example after changing the model.
- Describe the images — start the work.
- Forget the descriptions — remove descriptions from the search, for example if the model described them badly.
How many there are and what has been done
Under the settings you can see how many images were found, how many are already described, how many still have no description and how many have recognised text (scans).
Model
The local gemma4:e4b (~6.6 GB) or the smaller gemma4:e2b (~4.6 GB) are downloaded and run on your computer — images are not sent anywhere. A cloud model (a name with :cloud) needs an Ollama account and subscription, and images will be sent to the cloud.
OCR and a model are different things
They are often confused, but they do quite different things:
- OCR reads the text printed in an image: a scan of a contract, a photograph of a book page, a screenshot with text. It works by itself, during a collection scan; the result is text that is searched by exact words.
- A model looks at the image and describes what is depicted in it: “a camel in a hat”, “a plumbing diagram”, “a photograph of a cat”. This is a separate task, started by hand; the result is a description, searched by the words of the description.
Put simply: OCR answers the question “what is written here”, the model answers “what is drawn here”. A scan of a magazine page with a photograph gives both: the text is read by OCR, the photograph is described by the model.
Example: find a photograph that has no text
- Put the photographs into the collection folder — for example, a picture of a camel in a hat.
- Settings → “Collections” → “Scan (changed)”. The file appears in the list but does not get into the search: there is no text in it.
- Settings → “Image descriptions”: type
gemma4:e4band click “Connect the model” (it will be downloaded, ~6.6 GB, and runs on your computer). - Click “Describe the images”. The model looks at one image at a time; you can stop and continue later — described ones are not redone.
- Go back to the search and type
верблюд в шляпе.
What you get: the photograph is found, although those words are not in it — the model came up with them while describing the picture. In the viewer window, the file’s “In the search:” line will show “model description ✓”.