Welcome to ONNXCV
Welcome to OnnxCV! OnnxCV (Open Neural Network EXchange Runtime for Computer Vision) is an inference engine for realtime computer vision, built upon ONNX Runtime and OpenCV.
Install ONNXCV by invoking the following command in a terminal or command prompt:
pip install onnxcv
Create a new directory and download the ResNet model. Copy and paste the following script in your code:
from onnxcv import ImageClassifier clf = ImageClassifier('resnet18v1.onnx') clf.run()
clf.run() initiates the device camera to show a visual output. The camera data will then be converted into the model compatible array to allow the model to make predictions. The predictions are arrays that are shown in the terminal.
- Finish documentation (ETA: 1 day)