Skip to content

Commit

Permalink
docs: Add instructions for using SAM2 for object tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
healthonrails committed Jan 15, 2025
1 parent 3b308d9 commit 60778ae
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,21 @@ annolid
annolid --labels=/path/to/labels_custom.txt

```

### Optional: Using SAM2 for Object Tracking

If you want to use SAM2 for tracking objects, follow these steps:

1. Navigate to the `segment-anything-2` directory:
```bash
cd segmentation/SAM/segment-anything-2
```

2. Install the package in editable mode:
```bash
pip install -e .
```

![Annolid UI based on labelme](docs/imgs/annolid_ui.png)

If you want to learn more about labelme, please check the following link.
Expand Down

0 comments on commit 60778ae

Please sign in to comment.