8000 acf::Detector can return cv::Rect with slighlty out of bounds pixels · Issue #57 · elucideye/acf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
acf::Detector can return cv::Rect with slighlty out of bounds pixels #57
Open
@headupinclouds

Description

@headupinclouds

In some cases the acf::Detector can return a cv::Rect with out of bounds pixels. This could be happening in the scaling from the detection resolution back to the full resolution image. Enforcing (detection_roi & frame_roi).area() == detection_roi.area() is a reasonable post condition for the main API calls. A near term workaround is simply to clip the output detection rectangles before any cropping is performed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0