Skip to content

slows down when there are lots of labels in a video sequence #15

@jascase901

Description

@jascase901

When there are a lot of labels in your video sequence, drawing boxes, moving boxes, and playing the video slows down.

every time you do one of these operations eva loops through all our bounding boxes for every annotation in your video sequence, and sets the box to hidden if its outside the frame, then calls set bounds on the rect. The math involved in set bounds can slow down the entire system if there are a lot of rectangles.

see pull request #14 for a potential fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions