Obtaining Model Paths
This section describes how to return the path of a skill model directory.
If the skill code package is separated from the model, the model will be downloaded to a specified directory. The following API is used to obtain the path. If the HiLens Framework does not obtain the directory where the model is located, the current path is returned.
API Calling
std::string hilens::GetModelDirPath()
Return Value
A character string is returned, indicating the path of the skill model directory (with a slash (/) at the end). If the path of the skill model directory fails to be obtained, a null character string is returned.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot