mp.resource_util.set_resource_dir

set_resource_dir(arg0: str) -> None

Set resource root directory where can find necessary graph resources such as model files and label maps.

Args: str: A UTF-8 str.

Examples: mp.resource_util.set_resource_dir('/path/to/resource')