Skip to content

AndreyGermanov/yolov8_segmentation_python

Repository files navigation

YOLOv8 segmentation inference using Python

This is a web interface to YOLOv8 object detection neural network implemented on Python via ONNX Runtime.

This is a source code for a "How to implement instance segmentation using YOLOv8 neural network" tutorial.

Watch demo: https://youtu.be/tv3mYPxj2n8

In addition, it includes all Jupyter Notebooks created in this article.

Install

  • Clone this repository: git clone [email protected]:AndreyGermanov/yolov8_onnx_python.git
  • Go to the root of cloned repository
  • Install dependencies by running pip3 install -r requirements.txt
  • Download the yolov8m-seg.onnx model file to the app folder

Run

Execute:

python3 object_detector.py

It will start a webserver on http://localhost:8080. Use any web browser to open the web interface.

Using the interface you can upload the image to the object detector and see bounding boxes and segmentation masks of all objects detected on it.

About

YOLOv8 image segmentation through ONNX in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages