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.
- Clone this repository:
git clone git@github.com: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
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.