Skip to content

Selected frame index in video Auto-Annotation predict method #784

@zzv2

Description

@zzv2

I am working on a custom version of the segment_anything_2_video ml backend and I was wondering if there is a way to obtain the currently selected video frame in the annotator in the predict method. I looked in both the context and the tasks objects that are passed to the predict method, but I could not find it.

For example, if I am doing video annotation, and I have frame 439 currently selected in the annotator window, and then I trigger the Auto-Annotation, I want to be able to have 439 passed to the predict method (in the context would make the most sense to me) or call some API or method within the predict method to retrieve the currently selected frame 439.

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