yahboom
HomeTutorialsProduct
Solution
Blog
Online Store
About Us
EN/中文
Store
RDK S600 Developer Kit📖
1.RDK S600 board introduction
  • 1.1 RDK S600 board introduction
  • 1.2 System Flashing
  • 1.3 Hardware Interface Description
  • 1.4 Accessory Installation
  • 1.5 Camera Expansion Board
  • 1.6 MCU Interface Expansion Board
  • 1.7 Precautions for Using the 15.6-inch Screen
  • 1.8 System Boot Modes
2.RDK S600 basic course
  • 2.1 Network Configuration
  • 2.2 Remote Login
  • 2.3 System Update
  • 2.4 Boot Auto-Start Configuration
  • 2.5 RDK Exclusive Command Usage
  • 2.6 Linux Command Usage
  • 2.7 Examples of GPIO Read and Write Operations
  • 2.8 Using the USB Camera
  • 2.9 Solid-state mounting
  • 2.10 SSD expansionnew
  • 2.11 Using the IMX219 Cameranew
  • 2.12 Using the GS130W Stereo Cameranew
3.TogetheROS.Bot Vision Applications
  • 1. About TogetheROS. Bot
  • 2. System Installation
  • 3. Object Detection(YOLO)
  • 4. Image Classification(mobilenetv2)
  • 5. Image Segmentation(mobilenet_unet)
  • 6. Perception Algorithm(BEV)
  • 7. Human Detection and Tracking (Ultralytics YOLO Pose)
4. Offline AI Large Model Development
Offline large model (Text Interaction)
  • 1. AI large model environment deployment
  • 2. Install large model dialogue platform
  • 3. Meta AI Llama 3.2 model
  • 4. Alibaba Cloud Qwen3 model
  • 5. Microsoft Phi-4 mini model
  • 6. DeepSeek - DeepSeek-R1 model
  • 7. Alibaba Cloud Qwen2.5vl Visual Multimodal Large Model
  • 8. Google Gemma3 Visual Multimodal Large Model
  • 9. Lava Visual Multimodal Large Model
  • 10. MiniCPM-V Visual Multimodal Large Model
  • 11. Multimodal visual understand application
  • 12. Multimodal text image application
  • 13. Multimodal visual localization application
  • 14. Multimodal table scanning application
  • 15. Multimodal Autonomous Agent Applications
Offline large model (Voice Interaction)
  • 0. Voice Interaction Hardware Connection (Must Read)
  • 1. Offline speech-to-text (ASR)
  • 2. Offline Text-to-Speech (TTS)
  • 3. AI large model voice interaction
  • 4. Multimodal visual understanding voice interaction
  • 5. Multimodal Text-to-Image application
  • 6. Multimodal video analytics application
  • 7. Multimodal visual localization application
  • 8. Multimodal table scanning application
  • 9. Multimodal autonomous agent application
  • 10. AI Large Model Offline Voice Assistant
5. Online AI Large Model Development
Online large model (Text Interaction)
  • 1.OpenRouter large model API aggregation platform
  • 2.Multimodal visual understand application
  • 3.Multimodal visual localization application
  • 4.Multimodal table scanning application
  • 5.Multimodal autonomous proxy application
Online large model (Voice Interaction)
  • 0.Voice interaction hardware connection (ReadMe)
  • 1.Online speech to text (ASR)
  • 2.Online text to speech (TTS)
  • 3.AI large model voice interaction
  • 4.Multimodal visual understand speech interaction
  • 5.Multimodal visual localization application
  • 6.Multimodal table scanning application
  • 7.Multimodal autonomous proxy application
  • 8.AI large model online voice assistant
6.YOLO26 tutorials
  • 01.YOLO26 environment
  • 02.CLI use
  • 03.Object detection
  • 04.Instance segmentation
  • 05.Pose estimation
  • 06.Image classification
  • 07.Oriented object detection
  • 08.Model conversion
  • 09.Dataset annotation
  • 10.Model training - conversion
  • 11.Model prediction
7.OpenClaw Advanced Development
  • 1. OpenClaw Deployment
  • 2. OpenClaw and WhatsApp Plugin Application
  • 3. OpenClaw TUI Interaction
  • 4. OpenClaw WebChat Interaction
  • 5. OpenClaw Gate Gateway Operation Manual
  • 6. OpenClaw Plugin Function Introduction
  • 7. OpenClaw Tools Introduction
  • 8. OpenClaw ClawHub Introduction (skill Installation)
  • 9.OpenClaw Application - File Management
  • 10.OpenClaw Application - Browser Control
  • 11.OpenClaw Application - Camera
  • 12.OpenClaw Application - Script Execution
  • 13.OpenClaw Application - AI Programming (Peripheral & GPIO Control)
  • 14. OpenClaw Application - Dedicated AI Assistant
  • 15. OpenClaw Configure Web Search Capability
8.ROS2 basic course
  • 1.Introduction to ROS2
  • 2.ROS2 install Jazzy
  • 3.ROS2 development environment
  • 4.ROS2 workspace
  • 5.ROS2 function package
  • 6.ROS2 node
  • 7.ROS2 topic communication
  • 8.ROS2 service communication
  • 9.ROS2 action communication
  • 10.ROS2 custom interface message
  • 11.ROS2 parameter service case
  • 12.ROS2 meta-function package
  • 13.ROS2 distributed communication
  • 14.ROS2 DDS
  • 15.ROS2 time related API
  • 16.ROS2 common command tools
  • 17.ROS2 rviz2 use
  • 18.ROS2 rqt toolbox
  • 19.ROS2 Launch startup file configuration
  • 20.ROS2 recording and playback tool
  • 21.ROS2 URDF model
  • 22.ROS2 Gazebo simulation platform
  • 23.ROS2 TF2 coordinate transformation
Download
  • System_File
  • Code
  • 3D_Model_File
  • Tools_Software
Download ZIP

Welcome to RDK S600 Developer Kit repository

09.Dataset annotation

Dataset Annotation

Dataset Annotation1. Dataset Collection1.1 Extracting Images1.2 Dataset Path2. Using Label Studio2.1 Installing Label Studio2.2 Starting Label Studio2.2.3 Accessing Label StudioHost MachineSame Local Area NetworkFirst-Time Use3. Dataset Annotation3.1 Create Project3.2 Project Name3.3 Import Training Set3.4 Label Settings3.5 Dataset Annotation3.6 Export Dataset3.7 Dataset Directory Structure3.8 Dataset Configuration FileReferences

For recognizing specific objects or improving object recognition accuracy, users need to train the model themselves. Dataset collection and annotation are indispensable parts of this process.

1. Dataset Collection

Description: For recognition in specific scenarios, users can use a camera to record videos of objects from various angles, then extract frames from the video as the training set.

1.1 Extracting Images

A simple example: Extract one frame from the video every 15 frames as the dataset.

​x
import cv2
import os

# Path to the input video file
video_file = '/home/sunrise/ultralytics26/data/yahboom_data/orange_video/orange.mkv'

# Path to the output folder to save the frames
output_folder = '/home/sunrise/ultralytics26/data/yahboom_data/orange_pic'

# Check if the output folder exists, if not, create it
if not os.path.exists(output_folder):
    os.makedirs(output_folder)

# Open the video file using OpenCV
cap = cv2.VideoCapture(video_file)

# Get the total number of frames in the video
total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))

# Get the frames per second (fps) of the video
fps = cap.get(cv2.CAP_PROP_FPS)

# Frame counter to keep track of the current frame number
frame_number = 0

# Define the interval for extracting frames (every 15th frame)
frame_interval = 15

# Initialize a new counter for saved frames (starting from 1)
saved_frame_number = 1

while True:
    ret, frame = cap.read()

    # If the frame is not successfully read, exit the loop
    if not ret:
        break

    # Save every 15th frame
    if frame_number % frame_interval == 0:
        # Format the frame number starting from 1 (e.g., 1.png, 2.png)
        image_name = f'{saved_frame_number}.png'
        image_path = os.path.join(output_folder, image_name)

        # Save the current frame as a PNG image
        cv2.imwrite(image_path, frame)
        print(f'Saving frame {frame_number}/{total_frames} as {image_name}')

        # Increment the saved frame counter
        saved_frame_number += 1

    # Increment the frame counter for the video
    frame_number += 1

# Release the video capture object
cap.release()

# Print message when processing is complete
print("Video processing complete! Every 15th frame saved as an image!")

1.2 Dataset Path

Example video: /home/sunrsie/ultralytics26/data/yahboom_data/orange_video

Example images: /home/sunrise/ultralytics26/data/yahboom_data/orange_pic

2. Using Label Studio

Label Studio is an open-source data annotation platform used for data labeling and annotation task management, supporting various types of data input and annotation formats.

2.1 Installing Label Studio

xxxxxxxxxx
pip install label-studio -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --break-system-packages

2.2 Starting Label Studio

Enter in terminal:

xxxxxxxxxx
label-studio start

image-20260326160401944

2.2.3 Accessing Label Studio

Host Machine

For RDX S600 series development board access method, first-time users need to enter their own username and password.

xxxxxxxxxx
http://localhost:8080/

image-20241231172119675

Same Local Area Network

Devices on the same local area network can access via the board IP:8080.

xxxxxxxxxx
http://Board IP:8080/ # For example: http://192.168.2.99:8080/

image-20241231172358672

First-Time Use

First-time users need to register and login. Factory default account information (account information is fictional):

xxxxxxxxxx
Account: yahboom@163.com
Password: yahboom@163.com

image-20241231173648480

image-20241231173626233

After registration, the website will automatically log in:

image-20241231173724692

3. Dataset Annotation

The demonstration dataset is on the development board, so access Label Studio from the board.

3.1 Create Project

image-20250102101422924

3.2 Project Name

The project name can be freely chosen based on your training set:

image-20250102101957666

3.3 Import Training Set

Manually import the prepared dataset: Do not import too many images at once. It is recommended to select 50-100 images each time, then import multiple times.

image-20250102102239968

3.4 Label Settings

Since we are demonstrating orange recognition, select "Object Detection".

image-20250102102330629

Delete built-in labels:

image-20250102110751207

Add new labels:

image-20250102110916438

3.5 Dataset Annotation

Click "Annotate all tasks":

image-20250102111059058

Annotation steps: First click the "Orange" label, then use the mouse to draw a bounding box around the corresponding orange in the image. After completion, click Submit to proceed to the next annotation.

image-20250102111243857

If the bounding box does not completely enclose the orange, you can click on the bounding box to adjust the position of each edge:

image-20250102112923490

3.6 Export Dataset

Select YOLO format to export. The browser will automatically download a compressed package.

image-20250102121400695

image-20250102121600423

3.7 Dataset Directory Structure

The directory structure corresponding to the compressed package exported from Label Studio:

xxxxxxxxxx
.
├── images
├── labels
├── classes.txt
└── notes.json

You need to split the images and labels exported from Label Studio into train (training set) and val (validation set), with an approximate ratio of 8:2. The images and labels in both train and val need to have matching names.

xxxxxxxxxx
.
├── classes.txt
├── notes.json
├── train
│   ├── images
│   └── labels
└── val
    ├── images
    └── labels

3.8 Dataset Configuration File

Contains paths to the training set and validation set, as well as the number and names of classes.

xxxxxxxxxx
path: /home/sunrise/ultralytics26/data/yahboom_data/orange_data
train: train/images
val: val/images

nc: 1

# Classes
names:
  0: Orange

References

https://github.com/HumanSignal/label-studio

Model conversion
Model training - conversion

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文