Skip to content
PetalEdgeDocs

Model Evaluation

Post-processing

Filter weak detections, keep only some labels, track objects from frame to frame, and preview the result on a video.

Try it in Studio
On this page

Goal

By the end of this page you will have tuned how detections are filtered and tracked, and watched the result on one of your videos.

Post-processing is only in Image projects. It works with all four Image models.

What post-processing does

A detection model gives many raw predictions for each frame. Post-processing cleans them up:

  1. 1Raw detections
  2. 2Confidence thresholdDrop weak detections
  3. 3Class filterKeep chosen labels
  4. 4Remove duplicatesOne box per object
  5. 5TrackingFollow objects over frames
Post-processing steps

Settings

Open Post-processing in the left menu. The settings are under Object tracking settings.

SettingDefaultWhat it does
Enable post-processingonTurns post-processing on or off.
Detection threshold0.5Minimum confidence a detection needs (0 to 1). Higher hides weak detections; lower shows more, including more mistakes.
Enable trackingoffGives each object an identity and follows it across video frames.
Keep grace frames3How many frames an object is kept after it disappears, so a short gap does not start a new track.
Max observations5How many past observations are used to keep a track stable.
Class filterempty (all labels)When set, only these labels are shown.

Select Save settings to keep your changes.

Preview on a video

  1. In Data acquisition, upload a video (MP4, MOV or AVI) with Upload category set to Post-processing.
  2. Back on Post-processing, under Render a preview, select the video.
  3. Select Render preview. Studio runs your trained model on every frame with your settings and shows the result.

What next?