Skip to content

Release 1.2.0

Compare
Choose a tag to compare
@VanDavv VanDavv released this 04 Oct 08:07
· 138 commits to master since this release
3410fa6

URL-based parameters and depthai-model-zoo integration!

In release 1.2.0 we introduced two new ways to obtain your .blob file - from our model zoo and by using URLs as file pointers

Examples:

  • Download megadepth from our zoo
    import blobconverter
    
    blob_path = blobconverter.from_zoo(name="megadepth", zoo_type="depthai")
  • Download using URL parameters
    import blobconverter
    
    blob_path = blobconverter.from_openvino(
        xml="https://storage.openvinotoolkit.org/repositories/open_model_zoo/2021.4/models_bin/3/age-gender-recognition-retail-0013/FP16/age-gender-recognition-retail-0013.xml",
        xml_size=31526,
        xml_sha256="54d62ce4a3c3d7f1559a22ee9524bac41101103a8dceaabec537181995eda655",
        bin="https://storage.openvinotoolkit.org/repositories/open_model_zoo/2021.4/models_bin/3/age-gender-recognition-retail-0013/FP16/age-gender-recognition-retail-0013.bin",
        bin_size=4276038,
        bin_sha256="3586df5340e9fcd73ba0e2d802631bd9e027179490635c03b273d33d582e2b58"
    )

Other minor changes:

  • Changed blobconverter base image from Ubuntu 18 to Ubuntu 20
  • Updated Python from 3.7 to 3.8 in all OpenVINO versions using TensorFlow 2.x (so for >= 2020.4). Legacy versions that use TensorFlow 1.x still have to use 3.7 due to no TF available for 3.8
  • Error message from API will be printed in CLI even if it cannot be json-decoded (bug with "model not found" message not being displayed)