Filter junk first, then check which slices the filters drop
Junk comes in a few kinds:
- files that won't decode
- thumbnails
- blank or solid frames
- heavy blur
- extreme aspect ratios
- screenshots
- unsafe content
Cheap signals catch most of it: whether the file decodes, its pixel dimensions, its pixel variance, and PDQ's quality score. That score exists for exactly this. PDQ's README says it lets a system filter junky or featureless images out, and suggests discarding hashes with a quality of 49 or less.
Filters run before any novelty score, because junk is the most novel thing in the pile.
Night photos are dark. Fog is low in detail. Motion blur is blur. A filter tuned to drop low quality drops the very slices a vision team usually wants.
So find out what each filter costs before you trust it:
- Measure each filter's drop rate on a labeled random sample, slice by slice.
- Send borderline images to a maybe junk, maybe hard bucket, with a small labeling budget of its own, instead of deleting them.
In the editor, write drop_rates(sample) and costly(rates, limit). sample is a labeled random sample of 170 images, each a (slice, dropped) pair that says whether the junk filters threw it away.