Body tracking with Yolo
-
@n-jones said:
if there was some way of doing this in izzy that would be amazing !
I is pretty easy to use MediaPipe with Pythoner. Which feature of MediaPipe do you use most... face, pose etc?
I can make an example file for this pretty quick. (YOLO runs faster [when GPU enhanced] and has better Pose tracking, that is why YOLO tracking has been worked on :) -
@dusx wow , that would awesome 🙌.
For me the things I find most impressive is the fact it’s runs locally without a need to install python and the ability to select or switch the models on and off 🤯 .
I’d love to keep my workflow in Izzy so any help in this would be amazing 🙏. -
-
@n-jones said:
without a need to install python
Well, this code will require some configuration of Pythoner.
By default Pythoner offers the full standard library included with Python, however, this doesn't include everything we need for this script.
So, a new Virtual Environment will need to be created, and then MediaPipe, OpenCV, and Numpy will need to be installed.
The module names for install are:- opencv-python
- mediapipe
- numpy
This is worth knowing, because the names for installation don't always match the names used for import into the python code. eg: opencv-python uses, import cv2, in the python code.
You can find available modules at: https://pypi.org/If you haven't I recommend watching: Getting Started With Pythoner to get an understanding of how the configuration is handled. It really should only take 3-4 minutes to create the environment and install the modules needed, once you know how it works.
I will create a quick and dirty video tutorial to walk thru this for this specific script/project. ASAP
-
-
@dusx thank you
-
-
I have posted a 'rough cut' of a tutorial video on setting up Pythoner to work with MediaPipe to my personal YouTube channel.
Please let me know if you find any issues, or feedback regarding clarity etc.. I will do a round of updates to the video before making it available officially on the Troikatronix YT channel.
Attached here is an Example file (used in the video, but now updated).
Again, if you have suggestions to improve this let me know (it is meant as a starting point).
NOTE: Pythoner has the ability to use 3 different configurations for which python environment is used.
I will make a video to walk thru these and their pros and cons soon.
In this video, I focus on the global virtual environment setup Isadora supports.
The other options are a Local (to the project root) Virtual Environment, and the default environment included in the Pythoner actor (the most portable option, but limit in features). -
@dusx Wow Ryan Bravo !!!!!! Fantastic !!!!!
-
I have so much to do until the end of the month that I can't try. I'll get back to you as soon as I can. Thank you so much for your fantastic work
Best regards,
Jean-François
-