TotalApp Docs

Object Detection

Find the objects in a picture or video, where they are, and how many there are.

Overview

Object Detection does more than say what a picture shows: it finds every object it recognises and draws a box around each one, with the name and a confidence. Because it knows where each object is, it can also count them, for example the people in a room or the cars in a car park. It runs Facebook’s DETR ResNet-50 model, hosted on Cloudflare Workers AI, so nothing needs to be installed.

You find it in the Computer Vision group, next to Image Classification. It works on a still picture or on a video file you upload; live camera streams are not supported.

How to use it

  1. Drag a picture or a video onto the drop area, or click it to choose a file. PNG, JPEG and WebP pictures up to 20 MB and MP4, WebM and MOV videos up to 300 MB are accepted.
  2. Choose the Minimum confidence. Objects the model is less sure about than this are left out. 50% is a good start; raise it to remove false hits, lower it to find more.
  3. For a video, also choose how often to take a frame (every 1, 2, 5 or 10 seconds) and the maximum number of frames. The screen shows how many frames will be analysed.
  4. Click Detect objects. Boxes appear over the picture, and the list on the right shows how many of each object were found.

For a video, the boxes follow the player: play or drag the slider and the boxes of the nearest analysed frame are shown. Click a row under Frame by frame to jump to that moment. Most at once lists the highest number of each object seen in a single frame, which is the number to use for counting, because a person who stays in view is not counted again for every frame. Use Stop to end a long video early and keep what is done so far.

Use cases

Count common items such as bottles, bags or chairs in a storage area, see how many people or vehicles appear in security camera footage, or check that a scene holds what you expect.

Good to know

  • DETR ResNet-50 recognises 80 everyday kinds of objects (people, vehicles, animals, bottles, chairs and similar). Anything outside them, such as stacked cardboard boxes, pallets or a specific product, is not found. Very small or partly hidden objects can be missed, so read counts as an estimate.
  • A video is checked frame by frame, not continuously. An object that appears and disappears between two frames is not seen; use a shorter interval for fast scenes.
  • Pictures and frames are scaled down in your browser before they are sent. They are analyzed and not stored.
  • Every picture and every video frame counts as one light-model AI request against your workspace’s AI credits and your plan’s per-minute limit, so a video of 20 frames is 20 requests. It is available on every plan, including Free.

Frequently asked questions

Can it watch a live camera?
Not yet. It works on pictures and video files you upload.
Why is an object missing or counted twice?
The model can miss small or hidden objects, and in a crowded scene two close objects can merge into one box. Try a lower minimum confidence or a sharper picture.
Can I detect my own kinds of objects?
Not with this screen. It uses a fixed set of 80 kinds of objects.