An open API service indexing awesome lists of open source software.

https://github.com/xtalism/object-detection

Object detection with AI using YOLO V8, Opencv and Python 3.8.
https://github.com/xtalism/object-detection

artificial-intelligence computer-vision object-detection python3 yolov8

Last synced: 6 months ago
JSON representation

Object detection with AI using YOLO V8, Opencv and Python 3.8.

Awesome Lists containing this project

README

          

# Object Detection

This a Computer Vision "object detection" project. I used Python 3.8 version, yolov8 (you can also use yolov5 if you want) and Opencv to write this program.

In order to install the necessary dependencies we use requirements.txt file and build our Python 3.8 virtual environment.
Just as follows:

py -3.8 -m venv {namefyourvirtualenvironment}
py -m pip -r install requirements.txt

If you happen to change or add new dependencies, you can also make your own requirements.txt file as follows:

py -m pip freeze --local > requirements.txt

You can make your own AI model with Yolov8 official website which includes a detailed tutorial on how to do it using [Yolov5](https://docs.ultralytics.com/yolov5/tutorials/train_custom_data/) or [Yolov8](https://docs.ultralytics.com/). You can also check its proper github [documentation](https://github.com/ultralytics/ultralytics).

If you wish, you can check [Roboflow's](https://blog.roboflow.com/how-to-train-yolov8-on-a-custom-dataset/) documentation also, and explore its open source computer vision datasets and APIs [here](https://universe.roboflow.com/).

![datasets](img/datasets.png)

I personally used a custom dataset [notebook](https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/train-yolov8-object-detection-on-custom-dataset.ipynb#scrollTo=oe9vkEvFABbN) from Roboflow.

![notebook](img/notebook.png)