mirror of
https://github.com/gaomingqi/Track-Anything.git
synced 2025-12-16 16:37:58 +01:00
11b7542f3669097928b77a69a322801aff27a850
Track-Anything
Track-Anything is a flexible and interactive tool for video object tracking and segmentation. It is developed upon Segment Anything and XMem, can specify anything to track and segment via user clicks only. During tracking, users can flexibly change the objects they wanna track or correct the region of interest if there are any ambiguities. These characteristics enable Track-Anything to be suitable for:
- Video object tracking and segmentation with shot changes.
- Data annnotation for video object tracking and segmentation.
- Object-centric downstream video tasks, such as video inpainting and editing.
Demo
Video Object Tracking and Segmentation with Shot Changes
one gif/video
Video Inpainting (with E2FGVI)
Video Editing
one gif/video
Get Started
Linux
# Clone the repository:
git clone https://github.com/gaomingqi/Track-Anything.git
cd Track-Anything
# Install dependencies:
pip install -r requirements.txt
# Install dependencies for inpainting:
pip install -U openmim
mim install mmcv
# Install dependencies for editing
pip install madgrad
# Run the Track-Anything gradio demo.
python app.py --device cuda:0 --sam_model_type vit_h --port 12212
Acknowledgement
The project is based on Segment Anything and XMem. Thanks for the authors for their efforts.
Description
Track-Anything is a flexible and interactive tool for video object tracking and segmentation, based on Segment Anything, XMem, and E2FGVI.
inpaint-anythinginteractive-trackingsegment-anythingtrack-anythingvideo-object-segmentationvideo-object-tracking
Readme
MIT
344 MiB
Languages
Python
99.2%
HTML
0.8%
