Model Zoo
model.yml in the model's respective directory.How to use
Note that the models in the DepthAI Model Zoo are exported such that they expect images with values in the
[0-255] range, BGR (Blue Green Red) color order, and CHW (Channel Height Width) channel layout.Python (DepthAI)
- Install BlobConverter using
pip:
Command Line
1pip install blobconverter- Call
from_zoomethod withzoo_type="depthai", thenameof the model that you want, and a number ofshavesto use:
Python
1import blobconverter
2model_path = blobconverter.from_zoo(
3 name="yolop_320x320",
4 zoo_type="depthai",
5 shaves=6
6 )zoo_type="intel". And by calling blobconverter.zoo_list(zoo_type=...) you can get the list of all models available in the chosen zoo.- Pass the
model_pathto the neural network node:
Python
1neural_network.setBlobPath(model_path)The default path for the downloaded blob is the
~/.cache/blobconverter directory.It is arbitrary and can be specified by setting the output_dir parameter.BlobConverter interface
2022.1. You can find additional information about the conversion process here.