mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

android object_detection error

Open iamzhongjian opened this issue 1 year ago • 3 comments

hello, when i run object_detection demo, i get this error:

Object detector failed to load model with error: internal: ; RET_CHECK failure (mediapipe/util/resource_util_android.cc:86) last_slash_idx != std::string::nposefficientdet-lite0.tflite doesn't have a slash in it

iamzhongjian avatar Jan 22 '24 07:01 iamzhongjian

Hey @iamzhongjian what path string are you using for your model file in your app? Is this for the default sample? If so, are you seeing the model downloaded into your assets folder on build?

PaulTR avatar Mar 17 '24 23:03 PaulTR

Hey @iamzhongjian what path string are you using for your model file in your app? Is this for the default sample? If so, are you seeing the model downloaded into your assets folder on build?

yes, it's the default sample, import into Android Studio

iamzhongjian avatar Mar 22 '24 02:03 iamzhongjian

遇到同样的错误提示

cnfive avatar Dec 21 '24 08:12 cnfive