https://github.com/ajaichemmanam/simple_bodypix_python
A simple and minimal bodypix inference in python
https://github.com/ajaichemmanam/simple_bodypix_python
bodypix bodypix-python python tensorflowjs
Last synced: 10 months ago
JSON representation
A simple and minimal bodypix inference in python
- Host: GitHub
- URL: https://github.com/ajaichemmanam/simple_bodypix_python
- Owner: ajaichemmanam
- Created: 2020-04-05T16:29:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-24T23:47:16.000Z (almost 3 years ago)
- Last Synced: 2025-04-11T03:52:23.039Z (10 months ago)
- Topics: bodypix, bodypix-python, python, tensorflowjs
- Language: Python
- Homepage:
- Size: 5.1 MB
- Stars: 76
- Watchers: 5
- Forks: 19
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple_bodypix_python
A simple and minimal bodypix inference in python
# Getting Started
1. Install requirements
2. Download tfjs models for bodypix.
```bash
# For example, download a ResNet50-based model to ./bodypix_resnet50_float_model-stride16
$ ./get-model.sh bodypix/resnet50/float/model-stride16
```
3. Set path to models and image for inference in .py files
```py
imagePath = './awesome_img.jpg'
modelPath = './bodypix_resnet50_float_model-stride16/'
```
4. python3 evalbody_singleposemodel.py (Image with single person)
# Observed Results
SINGLE POSE OUTPUT


# Acknowledgement
1. https://github.com/patlevin for support functions
2. https://github.com/likeablob for download script
# Note:
Multipose is work in progress. Pull Requests are welcome.