CMU-Perceptual-Computing-Lab / openpose_unity_plugin

OpenPose's Unity Plugin for Unity users
https://github.com/CMU-Perceptual-Computing-Lab/openpose
Other
712 stars 166 forks source link

OpenPose Demo Run failed #73

Open RenSiyao opened 3 years ago

RenSiyao commented 3 years ago

1、getPlugins.bat,getModels.bat,Run successfully 2、testBinary.bat,Run it successfully and play it back and then mark it on the body。 Even if I have a problem with my project。 When I was running in Unity, the camera would show a call, then shut down, run status show ready, then prompt for an error.

The following is the error content:

OP_Error: Error occurred on a thread. OpenPose closed all its threads and then propagated the error to the main thread. Error description:

Prototxt file not found: F:\桌面\Openpose\openpose_unity_plugin-master\OpenPosePlugin\Assets\StreamingAssets\models\pose/body_25/pose_deploy.prototxt. Possible causes:

  1. Not downloading the OpenPose trained models.
  2. Not running OpenPose from the same directory where the model folder is located.
  3. Using paths with spaces.

Coming from:

UnityEngine.Debug:LogError(Object) OpenPose.OPWrapper:m__0(String, Int32) (at Assets/OpenPose/Modules/Scripts/OPWrapper.cs:231) OpenPose.OPBind:_OPRun() OpenPose.OPWrapper:OPExecuteThread() (at Assets/OpenPose/Modules/Scripts/OPWrapper.cs:268)

duguguang commented 2 years ago

Prototxt file not found: F:\桌面\Openpose\openpose_unity_plugin-master\OpenPosePlugin\Assets\StreamingAssets\models\pose/body_25/pose_deploy.prototxt. Make sure the path does not contain Chinese

s2023x commented 1 year ago

I agreed to run into this problem, and I didn't have Chinese in my path, but it didn't work