Real-time object tracking implementation based on Co-tracker.
# Clone and enter this repo
git clone https://github.com/LuJingyi-John/CopilotTrack.git
cd CopilotTrack
# Create and activate conda environment
conda create -n copilot python=3.8
conda activate copilot
# Install co-tracker
pip install git+https://github.com/facebookresearch/co-tracker.git
# Install dependencies
pip install -r requirements.txt
# Install PyTorch (CUDA version)
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118mkdir -p checkpoints
cd checkpoints
wget https://huggingface.co/facebook/cotracker3/resolve/main/scaled_online.pth
cd ..python server.pySee requirements.txt for detailed dependencies.