---
# System prepended metadata

title: YoloV8 學習筆記

---

# YoloV8 學習筆記

Step 1: create a folder named “YoloV8_Testing”

Step 2: Download practice image datasets from [Dollar Bill Detection](https://universe.roboflow.com/models/object-detection) 

Step 3: Open folder in VS Code

Step 4: Create conda environment named "yolov8_Project" with python version 3.11
![Screenshot 2024-05-22 at 11.30.58 AM](https://hackmd.io/_uploads/r1dHfljQR.png =250x)

![Screenshot 2024-05-22 at 11.31.08 AM](https://hackmd.io/_uploads/ryZIMlomA.png)

![Screenshot 2024-05-22 at 11.31.30 AM](https://hackmd.io/_uploads/S1gPflsXC.png)

![Screenshot 2024-05-22 at 12.22.31 PM](https://hackmd.io/_uploads/SyC8Qejm0.png)

Step 5: install following packages
:::info
for Mac OS
```shell=
conda install conda-forge::ultralytics
```

![Screenshot 2024-05-22 at 12.28.49 PM](https://hackmd.io/_uploads/HJfJSeo7C.png)

![Screenshot 2024-05-22 at 12.31.39 PM](https://hackmd.io/_uploads/SJpvrgiXC.png)

```shell=
python3 -m pip install ultralytics
```

![Screenshot 2024-05-22 at 12.35.40 PM](https://hackmd.io/_uploads/B1Jw8ljQA.png)

```shell=
conda install torch
```

```shell=
python3 -m pip install torch
```
:::

:::warning
for Windows OS
```shell=
conda install conda-forge::ultralytics
```
:::



## Reference
1. [yolov8 Instance Segmentation](https://docs.ultralytics.com/tasks/segment/)
2. [How to segment Objects with YOLOv8](https://medium.com/@Mert.A/how-to-segment-with-yolov8-f33b1c63b6c6)