Use new Mediapipe API in human pose tracking example#5903
Conversation
Deployed docs
|
| # no 3.12 version yet (https://pypi.org/project/mediapipe/) | ||
| # 0.10.10 no longer supports the legacy Pose model: https://github.com/rerun-io/rerun/issues/5859 | ||
| mediapipe==0.10.9 ; python_version <= '3.11' | ||
| mediapipe>=0.10.0 ; python_version <= '3.11' |
There was a problem hiding this comment.
Did you test it with 0.10.0 as well, or should this maybe be
| mediapipe>=0.10.0 ; python_version <= '3.11' | |
| mediapipe>=0.10.11 ; python_version <= '3.11' |
There was a problem hiding this comment.
I'd bump it to 0.10.11 yeah. Also, please make the same change in all media pipe examples (top of my head: gesture_recognition and face_detection, but you may have to run a global search).
There was a problem hiding this comment.
I tested with 0.10.0, it's the first version that works. Should we still bump it or try to find the first working version for the other examples also?
There was a problem hiding this comment.
I dont have a strong feeling about, but I know is that 0.10.11 worked for the other example (it was set to that before I pined them to 0.10.9 because of this example). I'd say for an example, if a given recent version is known to work, and is compatible with our range of python version (3.8 -> 3.12), it's not a bad thing to pin. (The situation would be different for a lib, ofc.)
There was a problem hiding this comment.
Okay, I have pinned and tested all of them with 0.10.11 now.
| # no 3.12 version yet (https://pypi.org/project/mediapipe/) | ||
| # 0.10.10 no longer supports the legacy Pose model: https://github.com/rerun-io/rerun/issues/5859 | ||
| mediapipe==0.10.9 ; python_version <= '3.11' | ||
| mediapipe>=0.10.0 ; python_version <= '3.11' |
There was a problem hiding this comment.
I'd bump it to 0.10.11 yeah. Also, please make the same change in all media pipe examples (top of my head: gesture_recognition and face_detection, but you may have to run a global search).
What
Closes #5859.
Checklist
mainbuild: rerun.io/viewernightlybuild: rerun.io/viewer