--- title: YOLO ML Backend for Label Studio type: guide tier: all order: 50 hide_menu: true hide_frontmatter_title: true meta_title: YOLO ML Backend for Label Studio meta_description: Tutorial on how to use an example ML backend for Label Studio with YOLO categories: - Computer Vision - Object Detection - Image Segmentation - YOLO image: "/guide/ml_tutorials/yolo.png" --- # YOLO ML backend for Label Studio The YOLO ML backend for Label Studio is designed to integrate advanced object detection, segmentation, classification, and video object tracking capabilities directly into Label Studio. This integration allows you to leverage powerful YOLOv8 models for various machine learning tasks, making it easier to annotate large datasets and ensure high-quality predictions. **Supported Features** | YOLO Task Name | LS Control Tag | Prediction Supported | LS Import Supported | LS Export Supported | |--------------------------------------------------------------|--------------------------------------|----------------------|---------------------|---------------------| | Object Detection | `` | ✅ | YOLO, COCO | YOLO, COCO | | Oriented Bounding Boxes (OBB) | `` | ✅ | YOLO | YOLO | | Image Instance Segmentation: Polygons | `` | ✅ | COCO | YOLO, COCO | | Image Semantic Segmentation: Masks | `` | ❌ | Native | Native | | Image Classification | `` | ✅ | Native | Native | | Pose Detection | `` | ✅ | Native | Native | | Video Object Tracking | `` | ✅ | Native | Native | | [Video Temporal Classification](https://github.com/HumanSignal/label-studio-ml-backend/blob/master/label_studio_ml/examples/yolo/README_TIMELINE_LABELS.md) | `` | ✅ | Native | Native | * **LS Control Tag**: Label Studio [control tag](https://labelstud.io/tags/) from the labeling configuration. * **LS Import Supported**: Indicates whether Label Studio supports Import from YOLO format to Label Studio (using the LS converter). * **LS Export Supported**: Indicates whether Label Studio supports Export from Label Studio to YOLO format (the **Export** button on the Data Manager and using the LS converter). * **Native**: Native means that only native Label Studio JSON format is supported. ## Before you begin Before you begin, you need to install the [Label Studio ML backend](https://github.com/HumanSignal/label-studio-ml-backend?tab=readme-ov-file#quickstart). This tutorial uses the [YOLO example](https://github.com/HumanSignal/label-studio-ml-backend/tree/master/label_studio_ml/examples/yolo). ## Quick start 1. Add `LABEL_STUDIO_URL` and `LABEL_STUDIO_API_KEY` to the `docker-compose.yml` file. These variables should point to your Label Studio instance and its API key, respectively. For more information about finding your Label Studio API key, [see our documentation](https://labelstud.io/guide/user_account#Access-token). 2. Run docker compose ```bash docker-compose up --build ``` 3. Open Label Studio and create a new project with the following labeling config: ```xml ``` 4. Then from the **Model** page in the project settings, [connect the model](https://labelstud.io/guide/ml#Connect-the-model-to-Label-Studio). The default URL is `http://localhost:9090`. 5. Add images or video (depending on tasks you are going to solve) to Label Studio. 6. Open any task in the Data Manager and see the predictions from the YOLO model. ## Labeling configurations ### Supported object & control tags **Object tags** - `` - [Image to annotate](https://labelstud.io/tags/image) - `