TotalApp Docs

Image Classification

Find out what a picture shows, with a confidence for each label.

Overview

Image Classification looks at a picture and names what it mainly shows. For each of the most likely labels it gives a confidence, so you can see how sure the model is. It runs Microsoft’s ResNet-50 model, hosted on Cloudflare Workers AI, so nothing needs to be installed.

You find it in the Computer Vision group, which also appears as a mode in the mode switcher.

How to use it

  1. Drag a picture onto the drop area, or click it to choose a file. PNG, JPEG and WebP files up to 20 MB are accepted.
  2. Choose how many labels you want to see: 3, 5 or 10.
  3. Click Classify. The labels appear with their confidence, the most likely first.

The model starts on the one chosen in Settings → AI Models → Vision. You can switch to another model on the screen without changing Settings.

Tip

Use a picture with one clear main subject. The model names one main subject, so a busy scene gives a less useful answer than a close-up.

Good to know

  • ResNet-50 knows 1,000 everyday categories such as animals, vehicles, tools and food. For something outside them it returns the closest match, not a correct one. To ask free-form questions about a picture, use Image Analysis instead.
  • The picture is scaled down in your browser before it is sent. It is analyzed and not stored.
  • Each classification counts as one light-model AI request against your workspace’s AI credits and your plan’s per-minute limit, and it is available on every plan, including Free.
  • Other computer-vision screens, such as image upscaling, are planned and appear on the landing page marked Soon.

Settings → AI Models → Vision

The Vision tab lists the computer-vision models from your Cloudflare connection. Filter them by image classification, image to text, or chat models with vision. Click a classification model to make it the one Image Classification starts with; click it again to go back to the default.

Frequently asked questions

Why does it give a strange label for my picture?
The model only knows its 1,000 categories. When the subject is not one of them, it picks the nearest one. A low confidence is the sign of that.
Can I classify my own categories?
Not with this screen. It uses a fixed set of categories.