• What is Equivalent to nn.setBlobPath(blobconverter.from_zoo()) in OBC?

I want to load locally so I need to convert. I don't know what arguments I need in the online blob converter to match the same as using this command in python:

person_nn.setBlobPath(blobconverter.from_zoo(name="person-detection-retail-0013", shaves=6))

And then trying to convert using: -ip U8 --data_type=FP16
resulted in this error:

What is the proper way to use the online converter tool with the correct parameters?

@jakaskerl unfortunately it does not.

I am trying to understand what depthai does under the hood when this is called: person_nn.setBlobPath(blobconverter.from_zoo(name="person-detection-retail-0013", shaves=6))

It seems like depthai is providign some kind of parameters to combile this model but I cannot find in the code what are the parameters. I want to mimic exactly what depthai does when that function is called so I can convert the blob pre-runtime.

  • erik replied to this.

    Hi AdamPolak ,
    Depthai doesn't do anything - it just loads up the blob path and sends it to the device. Blobconverter downloads the blob and returns its path. Blobconverter py library will also do -ip U8 by default, just like the online version.
    Thanks, Erik

      erik

      Is there an equivalentn function in C++? I can't find how to call blobconverter.from_zoo() in the C++ (not in the examples)

      • erik replied to this.

        Hi AdamPolak , Unfortunately we only have python blobconverter library (that calls blobconverter API via http). You could quite easily create C++ equivalent library though.