This project is archived.
When you are looking for simple_bodypix_python,
use this repository: ajaichemmanam/simple_bodypix_python.
The repository of the rewrite of the fake webcam script is here: allo-/virtual_webcam_background.
A simple and minimal bodypix inference in python
- Install requirements
- Download tfjs models for bodypix.
# For example, download a ResNet50-based model to ./bodypix_resnet50_float_model-stride16
$ ./get-model.sh bodypix/resnet50/float/model-stride16- Set path to models and image for inference in .py files
imagePath = './awesome_img.jpg'
modelPath = './bodypix_resnet50_float_model-stride16/'- python3 evalbody_singleposemodel.py (Image with single person)
Multipose is work in progress. Pull Requests are welcome.

