This script updates description in model.yml
file according to description in markdown documentation from section Use Case and High-Level Description.
Install ruamel.yaml
package:
pip install ruamel.yaml
To update description of single model:
python documentation_updater.py -d <omz_dir>/models/public/<model_dir> --mode update
To check descriptions of all public models:
python documentation_updater.py -d <omz_dir>/models/public