Skip to content

Commit 1075a22

Browse files
authored
Merge pull request #396 from imagej/trackmate-yolo
Doc for TrackMate YOLO
2 parents 59e5ebb + 975cf49 commit 1075a22

File tree

7 files changed

+58
-0
lines changed

7 files changed

+58
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: TrackMate-YOLO
3+
categories: [Detection,icTracking,Deep Learning]
4+
icon: /media/icons/YOLO-logo.png
5+
description: Cellpose-SAM integration in TrackMate.
6+
categories: [Segmentation,Tracking,Machine Learning]
7+
artifact: sc.fiji:TrackMate-YOLO
8+
---
9+
10+
{% include img src="/media/plugins/trackmate/detectors/YOLO/trackmate-yolo-detector-03.png" width='400' %}{% include img src="/media/plugins/trackmate/detectors/YOLO/trackmate-yolo-detector-02.png" width='300' %}
11+
12+
{% include img src="/media/plugins/trackmate/detectors/YOLO/trackmate-yolo-detector-01.gif" width='600' align='center' %}
13+
14+
This page describes a detector module for [TrackMate](/plugins/trackmate/index) that relies on [YOLO](https://github.com/ultralytics/ultralytics), an AI-based detection algorithm, popular for natural images.
15+
It is not included in the core of TrackMate and must be installed via its own [update site](/update-sites/following).
16+
It also requires YOLO to be installed on your system and working independently.
17+
18+
If you use this detector for your research, please cite the YOLO webiste
19+
20+
_Jocher, G., Qiu, J., & Chaurasia, A. (2023). Ultralytics YOLO (Version 8.0.0) [Computer software]. https://github.com/ultralytics/ultralytics_
21+
22+
23+
## Installation
24+
25+
We need to subscribe to an extra update site in Fiji, and have a working installation of cellpose on your system.
26+
27+
### TrackMate-YOLO update site
28+
29+
In Fiji, go to {% include bc path='Help|Update...' %}. Update and restart Fiji until it is up-to-date. Then go to the update menu once more, and click on the `Manage update sites` button, at the bottom-left of the updater window. A new window containing all the known update sites will appear. Click on the **TrackMate-YOLO** check box and restart Fiji one more time.
30+
31+
32+
### YOLO
33+
34+
This step requires you to have a working conda installation, like for any of the Python tools integrated in TrackMate.
35+
We recommend [miniforge](https://github.com/conda-forge/miniforge).
36+
37+
For YOLO specifically, we copy below the installation instruction from the [YOLO GitHub repo](https://github.com/ultralytics/ultralytics#-documentation)
38+
39+
```zsh
40+
conda create --name yolo python=3.10
41+
conda activate yolo
42+
pip install ultralytics
43+
```
44+
45+
Once this is done, still in the same terminal, test that YOLO was properly installed with e.g.:
46+
47+
```zsh
48+
❯ yolo version
49+
8.3.168
50+
```
51+
52+
### TrackMate conda configuration
53+
54+
If you have not done it yet, you need to [configure the TrackMate conda path in Fiji](/plugins/trackmate/trackmate-conda-path).

_pages/plugins/trackmate/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ TrackMate has a modular design and ships several algorithms of several types: de
140140
Many of these extra modules connect with an external tool, typically in Python, that needs to be installed via Conda or Mamba.
141141
TrackMate needs to know where your conda environments are installed, and this is explained here: [trackmate-conda-path](trackmate-conda-path)
142142

143+
Since v8, TrackMate ships better track and segmentation editing.
144+
Track editing (correcting missing or spurious links over time) is mainly done in the main view and [TrackScheme](views/trackscheme).
145+
The shape of objects can be edited in the new [segmentation editor](tutorials/trackmate-segmentation-editor).
146+
143147

144148
### Downloadable documents and tutorials
145149

media/icons/YOLO-logo.png

51.6 KB
Loading
36.5 MB
Loading
8.79 MB
Loading
109 KB
Loading
317 KB
Loading

0 commit comments

Comments
 (0)