Open cleong110 opened 3 months ago
The idea is that pose-format
is lightweight. It does not require many libraries to parse and save pose files, but if you want to visualize or estimate, there needs to be more installation.
We try to alert the user with ImportError: Please install mediapipe with: pip install mediapipe
Interesting! Maybe we could add them as optional dependencies so people can do something like pip install [visualize]
?
hmm... I saw a library that did that once, langcodes
. https://pypi.org/project/langcodes/. When I looked into it further it seems you need to add optional dependencies to the .toml (source)... and there is already a dev
target...!
Perhaps simply adding something to the README would solve the problem then.
Error:
When running
videos_to_poses
as described in the README on a fresh machine I got this:Steps to replicate:
System info
System info:
Package versions
Output of conda after env creation:
Output of pip list:
Fix, and further error "please install mediapipe":
pip install mediapipe
then fixed that error, andvideos_to_poses
ran well