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 Simply Display the Video? [Enterprise Edition] #5827

Closed
varungupta31 opened this issue May 5, 2024 · 1 comment
Closed

How to Simply Display the Video? [Enterprise Edition] #5827

varungupta31 opened this issue May 5, 2024 · 1 comment

Comments

@varungupta31
Copy link

My goal is NOT to annotate the video but to simply watch the video and annotate other text.
What is the simplest manner this can be achieved?

Requesting help in understanding how I can do this?

@makseq
Copy link
Member

makseq commented May 23, 2024

To achieve your goal of watching a video while annotating text, you can use the Video tag to display the video and the TextArea tag to provide a space for text annotations. Here is a simple labeling configuration that allows you to watch a video and annotate text:

<View>
  <Video name="video" value="$video" />
  <TextArea name="text_annotation" toName="video" placeholder="Enter your text annotation here" />
</View>

Explanation:

  1. Video Tag: This tag is used to display the video. The value attribute should be set to the URL of the video you want to display.
  2. TextArea Tag: This tag provides a text area for annotators to enter their text annotations. The toName attribute should be set to the name of the Video tag to link the text area to the video.

Example JSON Task:

Here is an example of how your task data might look in JSON format:

{
  "data": {
    "video": "https://example.com/path/to/your/video.mp4"
  }
}

Steps to Implement:

  1. Create a New Project: In Label Studio, create a new project.
  2. Set Up Labeling Interface: Go to the project settings and set up the labeling interface with the provided configuration.
  3. Import Tasks: Import your tasks with the video URLs in the JSON format as shown above.
  4. Start Annotating: Open a task, watch the video, and enter your text annotations in the provided text area.

This setup allows you to watch the video and annotate text without any additional complexity.

@makseq makseq closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants