|
| 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). |
0 commit comments