You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add feature vectors to existing detections, and reprocess detections without re-detecting #1464
Once #1462 stores a feature vector for each detection, most existing detections will still have none, because vectors only arrive when images are processed again. This ticket covers a job that fills in vectors for detections that already exist without detecting them again, and the processing-service contract it needs.
The same contract also covers a long-standing need: re-classifying existing detections, for example with a new classifier, without running the detector again. Both come down to Antenna sending the detections it already has to a processing service, and the service returning results for those boxes.
Processing service. The service honours detections in both modes (ami-data-companion#85) and skips its detector when boxes are given.
Antenna job type. "Add feature vectors" runs on a capture set, a session or a project, optionally only for detections that have no vector for the chosen model. It reports how many vectors were stored, how many were unchanged, and how many boxes could not be matched. The same job shape can later run "reprocess detections" with a classifier.
An earlier version of #1462 contained a first implementation of the feature-only path: queued tasks carrying detections, saving vectors for existing detections, and per-job counts. It was taken out to keep #1462 focused on storage, and is kept on a local backup branch to seed this work.
Summary
Once #1462 stores a feature vector for each detection, most existing detections will still have none, because vectors only arrive when images are processed again. This ticket covers a job that fills in vectors for detections that already exist without detecting them again, and the processing-service contract it needs.
The same contract also covers a long-standing need: re-classifying existing detections, for example with a new classifier, without running the detector again. Both come down to Antenna sending the detections it already has to a processing service, and the service returning results for those boxes.
What exists today
Proposed scope
Starting point
An earlier version of #1462 contained a first implementation of the feature-only path: queued tasks carrying detections, saving vectors for existing detections, and per-job counts. It was taken out to keep #1462 focused on storage, and is kept on a local backup branch to seed this work.
Related
#1462 (vector storage), #1417, #1457, #1422, #1279, #815, #706, #1252, RolnickLab/ami-data-companion#85, #170, #175.