Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.23 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.23 KB

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.