I have done it. For the record and if someone else has the same problem I have check how the code works of the library and you have to change the line:
yolo = oak.create_nn('yolov6nr3_coco_640x352', input=color)
to:
yolo = oak.create_nn(pathYoloJson, input=color, nn_type="yolo")
where "pathYoloJson" is the path to the json created by http://tools.luxonis.com/ but we have to change the model section of the json from this:
"model": {
"xml": "best.xml",
"bin": "best.bin"
}
to this (or the path to your model .blob):
"model": {
"blob": "best_openvino_2022.1_6shave.blob"
}
I think you should put this kind of workflow (changing diferents models of customize nn) more cleary in the documentation or at least in the coments of the functions in the code.
Regards,
Pedro.