Kentaro Wada 61f5fee418 Remove lineColor and shapeColor keys from example JSON files il y a 5 ans
..
.readme e9e226f0d6 Update examples/video_annotation/README.md il y a 7 ans
data_annotated 61f5fee418 Remove lineColor and shapeColor keys from example JSON files il y a 5 ans
data_dataset_voc 5fe0f6ff91 Update examples/video_annotation il y a 5 ans
README.md 8b5b4ea410 Use visible colors as default for auto_shape_color il y a 5 ans
labelme2voc.py bc8a7da2e3 Add video annotation example il y a 7 ans
labels.txt bc8a7da2e3 Add video annotation example il y a 7 ans

README.md

Video Annotation Example

Annotation

labelme data_annotated --labels labels.txt --nodata --keep-prev --config '{shift_auto_shape_color: -2}'

Fig 1. Video annotation example. A frame (left), The next frame (right).

Fig 2. Visualization of video semantic segmentation.

How to Convert a Video File to Images for Annotation?

# Download and install software for converting a video file (MP4) to images
wget https://raw.githubusercontent.com/wkentaro/dotfiles/f3c5ad1f47834818d4f123c36ed59a5943709518/local/bin/video_to_images
pip install imageio imageio-ffmpeg tqdm

python video_to_images your_video.mp4  # this creates your_video/ directory
ls your_video/

labelme your_video/