Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.43 KB

File metadata and controls

55 lines (34 loc) · 1.43 KB

img2pose-visualizer

Just run and evaluate img2pose on your webcam.

Installation

To install dependencies you should have python 3.12+ installed

Then you can run

# Create & activate Virtual environment
python -m venv .venv && \
source .venv/bin/activate

Then install poetry (package manager)

pip install poetry

After, you can install the dependencies:

poetry install

Img2pose Installation

For model instalation (in folder /models) you should proceed to the original im2pose repo and recommendations.

Run

Just run in your terminal

python main.py

Kesc23 img2pose test

As you can see, the a box with stats including yaw, roll and pitch angles appear whenever a face is detected.

And this should be everything.

Other info

The dependencies for running img2pose and this visualizer include the following packages (and more):

Pytorch SciPy NumPy OpenCV