mediapipe
mediapipe copied to clipboard
face_mesh dll error
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
windows 10
MediaPipe Tasks SDK version
0.10.9
Task name (e.g. Image classification, Gesture recognition etc.)
face_mesh dll
Programming Language and version (e.g. C++, Python, Java)
c++
Describe the actual behavior
debugger
Describe the expected behaviour
can not read the config
Standalone code/steps you may have used to try to get what you need
std::string calculator_graph_config_contents;
MP_RETURN_IF_ERROR(mediapipe::file::GetContents(model_path, &calculator_graph_config_contents));
std::cout << "mediapipe::file::GetContents success" << std::endl;
mediapipe::CalculatorGraphConfig config =
mediapipe::ParseTextProtoOrDie<mediapipe::CalculatorGraphConfig>(
calculator_graph_config_contents);
MP_RETURN_IF_ERROR(m_Graph.Initialize(config))) :
Other info / Complete Logs
MP_RETURN_IF_ERROR(m_Graph.Initialize(config))) : Exception raised: Read access conflict. the mediapipe::CalculatorGraphConfig config is null. but std::string calculator_graph_config_contentsnot null. I don't know what the problem is and how to proceed anymore