Skip to content

Files

This branch is 27 commits behind openvinotoolkit/openvino_build_deploy:master.

onnxruntime_yolov8

Running YOLOv8 Object Detection with ONNX and OpenVINO

Warning: This demo requires Python 3.11 or 3.12.

In this demo, we'll perform object detection leveraging YOLOv8 with Ultralytics, and with ONNX using the OpenVINO Execution Provider for enhanced performance, to detect up to 80 different objects (e.g., birds, dogs, etc.) This sample was modified from one of the available Onnx Runtime Inference examples here.

Installation Instructions

  • Create a virtual environment using
    python -m venv <venv-name>
  • To activate the virtual environment use
    \<venv-name>\Scripts\activate
  • Install the required dependencies via pip
    pip install -r requirements.txt
  • Now you only need a Jupyter server to start.
    jupyter lab