Skip to content

Downscaling should be detector-specific #530

@Breakthrough

Description

@Breakthrough

Long ago we made downscaling a global thing. This isn't ideal though, since downscaling is relatively cheap (especially at integer factors), and some detectors now do their own kind of downscaling or downsampling (e.g. perceptual hash detectors).

We need to come up with a better API to either allow detectors to indicate if they want a downscaled frame, or move all downscaling logic into the specific detectors that would require them. As a stretch goal, we would also want to avoid downscaling the frame twice at the same scale, but this isn't necessary for a first pass and could also just be done as a follow up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions