Project-MONAI / Project-MONAI/MONAILabel

Video Annotation with MONAI Label - CVAT support

Open
#1,002 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog
Dominant language
Python
Stars
891
Forks
269
Avg merge
15h 41m
Merged PRs (30d)
1

Description

Current endoscopy app annotation works with frame, the scoring method recommends 2D images for task. This issue discusses the integration of video annotation with current tooltracking and deid models.

Endoscopy APP Video Annotation logic:

  1. MONAI Label starts studies with endoscopy videos, avi, mp4 format.
  2. The MONAI Label server solves video frames as input and predict scores for each frame.
  3. Video-based scorning module calculates the metric.
  4. MONAI Label server push suggested videos (avi, mp4) to CVAT based on metric.
  5. Users annotate video frames on CVAT. Mark complete until all frames in video are annotated.
  6. MONAI Label server periodically query if there are finished tasks.
  7. MONAI Label server train/fine-tune model with new annotated video frames.
  8. MONAI Label server predict scores for video frames, and loop processing for active learning
    Step 2 – Step 8

Development steps:

  • 1. Prepare endoscopy sample videos, and dataset.
  • 2. Create video reader and image loader with videos for tooltracking, deid function modules.
  • 3. Create a scoring method based on videos, instead of 2D image.
  • 4. Push/transfer suggested video from MONAI label to CVAT
  • 5. MONAI Label query module on periodically check whether videos are annotated.
  • 6. Datastore communicating video and video labels between MONAI Label and CVAT.
  • 7. Check whether active learning loops compatible with videos.

Video annotation and active learning workflow based on prior frame integration.
method

@SachidanandAlle @Nic-Ma Correct me if there are any thoughts. CVAT can only send frame requests to functions. We need to process the video loader at model data loader, and a video-based scoring method.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the MONAI Label server's video loader, model data loader, scoring method, and CVAT communication path described in the issue. Verify how suggested videos are transferred to CVAT and how frame annotations are represented; done means step 4 works within the documented active-learning workflow and the resulting video tasks can be completed and queried.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.