Skip to main content

Annotating your images

For the best results, follow these guidelines. You may also want to review the documentation on improving your model.

Label every object in the image: It is important that you label all objects in each image before verifying. If you don't label a car for example, the model will be taught that part of the image is not a car and it will start to get confused. You can exclude labels that you don't want detected on any of your cameras.

Make tight bounding boxes: Tighter bounding boxes improve the recognition and ensure that accurate bounding boxes are predicted at runtime.

Label the full object even when occluded: If you have a person standing behind a car, label the full person even though a portion of their body may be hidden behind the car. This helps predict accurate bounding boxes and improves zone accuracy and filters at runtime. If an object is partly out of frame, label it only when a person would reasonably be able to recognize the object from the visible parts.

Label objects hard to identify as difficult: When objects are truly difficult to make out, such as a car barely visible through a bush, or a dog that is hard to distinguish from the background at night, flag it as 'difficult'. This is not used in the model training as of now, but will in the future.

Delivery logos such as amazon, ups, and fedex should label the logo: For a Fedex truck, label the truck as a car and make a different bounding box just for the Fedex logo. If there are multiple logos, label each of them.

Fedex Logo

AI suggested labels

If you have an active Frigate+ subscription, new uploads will be scanned for the objects configured for you camera and you will see suggested labels as light blue boxes when annotating in Frigate+. These suggestions are processed via a queue and typically complete within a minute after uploading, but processing times can be longer.

Suggestions

Suggestions are converted to labels when saving, so you should remove any errant suggestions. There is already some logic designed to avoid duplicate labels, but you may still occasionally see some duplicate suggestions. You should keep the most accurate bounding box and delete any duplicates so that you have just one label per object remaining.

False positive labels

False positives will be shown with a read box and the label will have a strike through. These can't be adjusted, but they can be deleted if you accidentally submit a true positive as a false positive from Frigate. false positive

Misidentified objects should have a correct label added. For example, if a person was mistakenly detected as a cat, you should submit it as a false positive in Frigate and add a label for the person. The boxes will overlap.

add image

Shortcuts for a faster workflow

Shortcut KeyDescription
?Show all keyboard shortcuts
wAdd box
dToggle difficult
sSwitch to the next label
tabSelect next largest box
delDelete current box
escDeselect/Cancel
← ↑ → ↓Move box
Shift + ← ↑ → ↓Resize box
scrollwheelZoom in/out
fHide/show all but current box
spacebarVerify and save