mp.resource_util.set_resource_dir
Stay organized with collections
Save and categorize content based on your preferences.
set_resource_dir(arg0: str) -> None
mp.resource_util.set_resource_dir()
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')
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-28 UTC.
[null,null,["Last updated 2026-05-28 UTC."],[],[]]