Welcome to ROSMASTER M3 repository
2.CLI use
CLI use
CLI use1. Download source code2. Enable optimal performance of the board2.1. Enable Jetson Clocks3. Use CLI prediction3.1. CLI usage syntax3.2. Image predictionEffect preview3.3, Video PredictionEffect preview3.4, Real-time predictionReferences
The factory image comes with a pre-set environment!! This example does not support Nuwa depth cameras!!
1. Download source code
git clone https://github.com/ultralytics/ultralytics.git
2. Enable optimal performance of the board
2.1. Enable Jetson Clocks
Enabling Jetson Clocks will ensure that all CPU and GPU cores run at maximum frequency:
xxxxxxxxxxsudo jetson_clocks
3. Use CLI prediction
CLI (Command-Line Interface) is a way for users to interact with computers or software programs. Users run programs or perform tasks by typing text commands instead of clicking icons or buttons through a graphical user interface (GUI).
3.1. CLI usage syntax
xyolo TASK MODE ARGSWhere TASK (optional) is one of [detect, segment, classify, pose, obb]MODE (required) is one of [train, val, predict, export, track, benchmark]ARGS (optional) are any number of custom 'arg=value' pairs like 'imgsz=320' that override defaults.
3.2. Image prediction
Use yolo11n.pt to predict the built-in images in the ultralytics project: If the system does not find the corresponding model file in the directory where the command is run, it will automatically download it (if it cannot be downloaded, you can copy the model into it yourself)
Enter the project folder:
xxxxxxxxxxcd /home/jetson/ultralytics/ultralytics/
Use yolo11n.pt to detect the images in the target folder and output the results:
xxxxxxxxxxyolo predict model=yolo11n source='/home/jetson/ultralytics/ultralytics/assets'

Effect preview
Video location of yolo recognition output: /home/jetson/ultralytics/ultralytics/runs/detect;
Each time it runs, the predict in this folder automatically increases by 1

3.3, Video Prediction
Use yolo11n.pt to predict videos under the ultralytics project (not the videos that come with ultralytics): If the system does not find the corresponding model file in the directory where the command is run, it will automatically download it (if it cannot be downloaded, you can copy the model into it yourself)
Enter the project folder:
xxxxxxxxxxcd /home/jetson/ultralytics/ultralytics
Use yolo11n.pt to detect the video in the target folder and output the result: