Training Dataset Annotation1. Course Content2. Example Dataset3. Traffic Sign Dataset Annotation3.1 Label Studio Introduction3.2 Start Label Studio3.3 Access Label Studio3.4 Create Project3.5 Import Images3.6 Label Settings3.7 Dataset Annotation3.8 Export Dataset3.9 Organize Dataset Directory Structure3.10 Dataset Configuration File4. Lane Detection Dataset Annotation4.1 Create Project4.2 Organize Exported Dataset4.3 Dataset Configuration File
[!IMPORTANT]
- The factory image already includes preset datasets required for training traffic sign recognition and lane detection models. This tutorial is provided for users who need to train their own YOLOv11 models and want to learn how to collect and annotate datasets
- If you want to experience the complete functionality directly, you can skip this section!!!
- This tutorial is mainly conducted on the Orin Nano board
/home/jetson/yolo_train/train_sign/roadsign_dataset.zip
xxxxxxxxxx/home/jetson/yolo_train/train_lane/lane_dataset.zip
Label Studio is an open-source data annotation platform for data annotation and annotation task management, supporting various types of data input and annotation formats.

[!NOTE]
The factory image environment already has Label Studio installed!!! If users need to set up a data annotation environment on their own computers, they need to install Label Studio first
xxxxxxxxxxpip install label-studio
xxxxxxxxxxsudo docker run -it -p 8080:8080 -v /home/jetson/ultralytics/ultralytics/data:/label-studio/data heartexlabs/label-studio:latest label-studio --log-level DEBUGxs

Make sure the computer and the vehicle are in the same local network. Enter the vehicle's IP + port 8080 in the browser address bar. The vehicle's IP can be viewed from the OLED screen in front of the vehicle or by opening a new terminal. Here we use IP:192.168.12.33 as an example:
xxxxxxxxxx192.168.12.33:8080

xxxxxxxxxxAccount: yahboom@163.comPassword: yahboom@163.com
sign up

After registration is completed, the website will automatically log in:


The project name can be named arbitrarily, name it according to your training set:


We are demonstrating orange recognition, so select "Object Detection"


[!TIP]
If users want to train other types of object detection models, and the detection targets are not traffic signs or lanes, name the labels according to the targets that need to be detected in your dataset.



Regions column on the right, where you can check whether the marking is correct.
Submit to submit, and it will automatically jump to the next image. Repeat annotation until all image data annotation is completed. 
Export in the upper right corner
YOLO with Images format for export, the browser will automatically download a compressed package
xxxxxxxxxx.├── images├── labels├── classes.txt└── notes.json
Folder and file description:
xxxxxxxxxx.├── classes.txt├── notes.json├── train│ ├── images│ └── labels└── val├── images└── labels

xxxxxxxxxx/home/jetson/yolo_train/train_sign/sign.yaml
Content analysis:
xpath/home/jetson/yolo_train/roadsign_dataset # dataset root dirtraintrain/images valval/images # Classesnames 0greenlight 1honking 2parkA 3parkB 4redlight 5school 6sidewalk 7sidewalk_ground 8speedlimit 9stop 10straight 11turnright 12turnright_ground 13yellowlight
Lane detection dataset annotation is basically the same as traffic sign dataset annotation process, both use YOLOv11 object detection model for object detection (here we recommend using object detection model, do not recommend using segmentation model for lane detection, model inference speed is slower)
train_lane in Project Name
lane



xxxxxxxxxx/home/jetson/yolo_train/train_lane/lane.yaml
xxxxxxxxxxpath: /home/jetson/yolo_train/train_lane/lane_dataset # dataset root dirtrain: train/imagesval: val/images# Classesnames:0: lane