Closed AzlanCoding closed 2 years ago
It works fine to me when I swap the libs' importing order, maybe u can try it
` from pose_estimator_3d import estimator_3d
from pose_estimator_2d import openpose_estimator `
It works fine to me when I swap the libs' importing order, maybe u can try it
` from pose_estimator_3d import estimator_3d
from pose_estimator_2d import openpose_estimator `
sorry, I also updated this file (pose_estimator_2d/openpose_estimator.py), and use the openpose release version for windows
`
if sys.platform == "win32": dir_path = os.path.join(os.path.dirname(os.path.realpath(file)), "../openpose/python")
sys.path.append(dir_path + '/../bin/python/openpose/Release')
os.environ['PATH'] = os.environ['PATH'] + ';' + dir_path + '/../x64/Release;' + dir_path + '/../bin;'
import pyopenpose as op
`
Thank for your help!
I need help with installing OpenPose correctly for this module to run. The following is my code:
I copied and modified it from demo.ipynb When thee code runs I get the following output:
The weird thing is that
import openpose
works! I also ensured that I build it with the BUILD_PYTHON flag:I built it with Visual studio Enterprise 2022 and also followed this tutorial (except that I enabled BUILD_PYTHON flag when building. ) Your help is deeply appreciated.😊