Tags what is visible in an image with any number of 20 attributes, such as people, text, chart, diagram, table, map or aerial view. A small, fast EfficientNetV2-B0 model (24 MB ONNX, about 14 ms per image on one CPU thread) for sorting and describing large image collections.
This is v0.4.0 (2026-10-16): trained on 28,495 images labelled by three open vision-language models (Clef-omni, Gemma 4 26B, Qwen3-VL 32B), learning from how many of them agree. Try it in your browser: WhatDoWeSee Space.
An image gets every attribute that is clearly recognisable, also when blurry or in the background; tiny or unrecognisable details don't count. Depicted things count (a drawn dog is Animals).
people): one or more humans, or clearly human faces, hands or bodiesanimals): animals, birds, fish or insectsnature): living green things: trees, plants, flowers, crops; not grass or a lawn as ground, not sea, sky or rocks (those are Landscape)landscape): an outdoor view of land, sea, sky, mountains, rocks, rivers or a city as a wholebuildings): buildings, interiors where the room or its architecture is clearly visible, and other built structures: bridges, towers, dams, monuments, ruinsvehicles): cars, bikes, trains, ships, planes or other vehiclesfood): food or drinkstext): running text, sentences, lists or a page that make up a substantial part of the image; labels, captions, titles and signs don't counthandwriting): handwritten text, notes or signatureschart): a data plot: values on axes or as proportions (bar, line, pie, scatter, area chart or similar)diagram): structure or relationships without measured values: a flowchart, schematic, process or relationship diagram; also labelled drawings that show how something is built (anatomy, parts, cross-sections)table): text or numbers laid out in rows and columns, with or without grid lines; not the furnituremap): a geographic map, floor plan or route maplogo-icon): a logo, icon, emblem, badge or pictogramformula): mathematical, chemical or other notationscreen): an app, website or device interfaceartwork): made as art: a painting, illustration, cartoon or sculpture, as the image itself or shown in it; not drawings made to explain (those are Diagram)instruments): musical instruments: guitar, piano, violin, drums, wind instruments and the likefurniture): chairs, tables, beds, sofas, desks, cabinets, shelves and other furniture (a data table is Table)aerial): the ground seen from high above: aerial or satellite photos, drone shots, bird's-eye views, also through a plane window, straight down or at an angle; clouds without ground don't count; a drawn map is MapDownload a fixed version (recommended), so a later release never changes your results:
from huggingface_hub import hf_hub_download
model_path = hf_hub_download("StephanMeijer/WhatDoWeSee-EfficientNetV2-B0", "model.onnx", revision="v0.4.0")
config_path = hf_hub_download("StephanMeijer/WhatDoWeSee-EfficientNetV2-B0", "config.json", revision="v0.4.0")
Then:
import json
import numpy as np
import onnxruntime as ort
from PIL import Image
config = json.load(open(config_path))
session = ort.InferenceSession(model_path)
size = config["input"]["shape"][-1]
mean = np.array(config["input"]["mean"], dtype=np.float32)
std = np.array(config["input"]["std"], dtype=np.float32)
image = Image.open("photo.jpg").convert("RGB").resize((size, size), Image.BILINEAR)
x = ((np.asarray(image, dtype=np.float32) / 255 - mean) / std).transpose(2, 0, 1)[None]
probabilities = 1 / (1 + np.exp(-session.run(None, {"pixel_values": x})[0][0]))
present = [label for label, p in zip(config["labels"], probabilities)
if p >= config["thresholds"][label]]
Preprocessing: RGB, resized to 224×224 (antialiased bilinear, no crop, aspect ratio not kept),
scaled to [0, 1], normalised with the ImageNet mean and standard deviation, NCHW float32. Each label has
its own threshold in config.json, tuned on a validation split.
On 3435 held-out teacher-labelled images: mean average precision 0.91, macro F1 0.85 at the tuned thresholds.
| label | name | positives | AP | F1 |
|---|---|---|---|---|
people |
People | 626 | 0.95 | 0.89 |
animals |
Animals | 268 | 0.87 | 0.82 |
nature |
Plants | 382 | 0.89 | 0.82 |
landscape |
Landscape | 438 | 0.93 | 0.84 |
buildings |
Buildings / structures | 422 | 0.91 | 0.84 |
vehicles |
Vehicles | 185 | 0.82 | 0.74 |
food |
Food | 106 | 0.76 | 0.72 |
text |
Text | 1035 | 0.95 | 0.90 |
handwriting |
Handwriting | 243 | 0.86 | 0.80 |
chart |
Chart | 260 | 0.98 | 0.95 |
diagram |
Diagram | 235 | 0.94 | 0.93 |
table |
Table | 275 | 0.97 | 0.91 |
map |
Map | 169 | 0.95 | 0.92 |
logo-icon |
Logo / icon | 551 | 0.84 | 0.77 |
formula |
Formula | 30 | 0.90 | 0.81 |
screen |
Screen / UI | 377 | 0.97 | 0.92 |
artwork |
Artwork | 474 | 0.94 | 0.88 |
instruments |
Instruments | 64 | 0.87 | 0.85 |
furniture |
Furniture | 183 | 0.81 | 0.73 |
aerial |
Aerial | 161 | 0.97 | 0.93 |
Against its teachers on the 3,435 test images: mean AP 0.91, macro F1 0.85 at 0.5 (MobileNetV4 v0.4.0-rc.1 on the same images: 0.88 and 0.83). On the 5,158 validation images macro F1 at 0.5 is 0.857, about the same as v0.3.0's 0.858, but v0.3.0 trained on most of those images; on the part it never saw, v0.3.0 reaches 0.74. About 14 ms per image on one CPU thread. Against v0.3.0 on 60 independent hand-labelled images: slightly worse (mean AP 0.81 against 0.87, macro F1 at 0.5 0.76 against 0.77 to 0.78). Better on Animals, Screen / UI, Map and Artwork; weaker on People, Landscape, Handwriting and Logo / icon. Hand labels and teacher labels differ in what they count, and per-label scores on the 60 rest on 1 to 24 images: indicative only. A larger EfficientViT-B2 model scored higher (confirm macro F1 0.86) at four times the CPU time; it was not released.
tf_efficientnetv2_b0.in1k (ImageNet-pretrained, via timm), with a new
20-way sigmoid head; 30 epochs, AdamW, binary cross-entropy per label.The model weights and config.json are released under the Apache License 2.0, like the
EfficientNetV2-B0 backbone they start from. The licence covers the model, not the images it was trained on.
Each version on test images it never trained on (mean AP and macro F1). The test sets differ between some versions, so compare versions through the notes of each version:
| version | date | test images | mean AP | macro F1 | |
|---|---|---|---|---|---|
| v0.4.0 | 2026-10-16 | 3435 | 0.91 | 0.85 | trained on 28,495 images labelled by three open vision-language models (Clef-omni, Gemma 4 26B, Qwen3-VL 32B), learning from how many of them agree |