Use a virtual environment to manage dependencies.
pip install virtualenv
Create and activate a virtual environment:
python3 -m venv pose-estimation
source pose-estimation/bin/activate
Install the necessary dependencies:
pip install -U -r requirements.txt
Run the code:
python3 YOLOv8_Pose_estimation_videoCapture.py