Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add different comments to each frame in an MP4 file? #6835

Open
panzhiguo opened this issue Dec 31, 2024 · 3 comments
Open

How to add different comments to each frame in an MP4 file? #6835

panzhiguo opened this issue Dec 31, 2024 · 3 comments

Comments

@panzhiguo
Copy link

How to add different comments to each frame in an MP4 file?

@heidi-humansignal
Copy link
Collaborator

Hello,

You can create a label "Comment" and based on perRegion attribute show the "TextArea" when label is selected, where you can write the comment. Would this help in your case?

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

@panzhiguo
Copy link
Author

Thank you very much for your answer. Can you give me an example of Labeling Interface ?

@heidi-humansignal
Copy link
Collaborator

heidi-humansignal commented Jan 13, 2025

Hello,

Try something like this

<View>
  <Video name="video" value="$video" />
  <VideoRectangle name="box" toName="video" />

  <Labels name="label" toName="video">
    <Label value="comment" />
    <!-- Add other labels if needed -->
  </Labels>

  <View visibleWhen="region-selected" whenTagName="label" whenLabelValue="comment">
    <TextArea
      name="comment_text"
      toName="video"
      perRegion="true"
      editable="true"
      placeholder="Add your comment here"
    />
  </View>
</View>

This will allow you to comment on each frame.

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants