Muhammad-Shahin-CS commited on
Commit
423ea98
·
1 Parent(s): d869a8f

modified README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -3
README.md CHANGED
@@ -1,13 +1,22 @@
1
  # YOLOv8
2
 
3
  This repository contains the YOLOv8 model weights (`yolov8n.pt`) for object detection. YOLOv8 is an advanced version of the YOLO (You Only Look Once) series of real-time object detection models.
 
 
 
 
 
 
 
 
 
 
4
 
5
  ## Usage
6
 
7
  To use this model for object detection, follow these steps:
8
 
9
- ### Installation
10
-
11
  Install the necessary dependencies:
12
  ```bash
13
  pip install ultralytics
@@ -15,7 +24,7 @@ pip install opencv-python
15
 
16
  import cv2
17
  from ultralytics import YOLO
18
-
19
 
20
  # code for performing object detection
21
  def detect_objects(model_path, image_path1, image_path2):
 
1
  # YOLOv8
2
 
3
  This repository contains the YOLOv8 model weights (`yolov8n.pt`) for object detection. YOLOv8 is an advanced version of the YOLO (You Only Look Once) series of real-time object detection models.
4
+
5
+ ## Documentation
6
+ See below for a quickstart installation and usage example, and see the YOLOv8 Docs for full documentation on training, validation, prediction and deployment.
7
+
8
+ ## CLI
9
+ YOLOv8 may be used directly in the Command Line Interface (CLI) with a yolo command:
10
+
11
+ yolo predict model=yolov8n.pt source='https://ultralytics.com/images/bus.jpg'
12
+
13
+ yolo can be used for a variety of tasks and modes and accepts additional arguments, i.e. imgsz=640. See the YOLOv8 CLI Docs for examples.
14
 
15
  ## Usage
16
 
17
  To use this model for object detection, follow these steps:
18
 
19
+ ## Python
 
20
  Install the necessary dependencies:
21
  ```bash
22
  pip install ultralytics
 
24
 
25
  import cv2
26
  from ultralytics import YOLO
27
+ Make sure these dependencies are installed in your environment before proceeding to load and use the model.
28
 
29
  # code for performing object detection
30
  def detect_objects(model_path, image_path1, image_path2):