Skip to main content

Personal Trainer Library

Project description

Kelpie Personal Trainer

Kelpie Personal Trainer is a Python library designed to help users exercise at home with customized workout plans based on their body type. Additionally, the library provides a free body type checker utilizing computer vision techniques to analyze body types from photos.

Features

  • Body Type Checker: Utilize computer vision algorithms to analyze body types by uploading photos.
  • Exercise Recommendations: Receive exercise recommendations based on the detected body type.
  • Accuracy and Counter: Utilize computer vision techniques and machine learning to help count the amount of reps and move accuracy

Installation

To install the library, use the following command:

pip install kelpie-personal-trainer

Usage

1. Body Type Checker

The body_type module allows users to check their body type by providing a photo. Here's an example of how to use it:

from kelpie_personal_trainer import body_type

# Load the photo
photo_path = "path/to/photo.jpg"
my_body_type = body_type_checker.check_body(photo_path, gender='male')

# Print the result
print("Detected body type:", my_body_type[0])

2. Workout Plan Generation

The body_type also module helps users generate personalized workout plans based on their body type. Here's an example of how to use it:

from kelpie_personal_trainer import body_type

# Get the body type
my_body_type = body_type_checker.check_body(photo_path, gender='male')

my_body_type = my_body_type[0] # Automaticly detect body type

# Generate the workout plan
workout_plan = body_type.get_menu(my_body_type)

# Print the workout plan
print(json.dumps(workout_plan, indent=4))

3. Accuracy and Movement Counter

The workout_plan_generator module helps users generate personalized workout plans based on their body type. Here's an example of how to use it:

from kelpie_personal_trainer import accuracy_and_counter

# Get the video input
video_path = "./video.mp4"


accuracy_and_counter.check_move('pushup', video) #processing the video input

Contributing

Contributions to the Kelpie Personal Trainer library are welcome! If you find any issues or have suggestions for improvements, please feel free to submit a pull request or open an issue on the GitHub repository.

License

This library is released under the MIT License.

Contact

For any inquiries or questions, please contact us at arillesmana2001@gmail.com.

Visit our website: https://www.kelpiepersonaltrainer.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kelpie_personal_trainer-0.2.18.tar.gz (18.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kelpie_personal_trainer-0.2.18-py3-none-any.whl (18.7 MB view details)

Uploaded Python 3

File details

Details for the file kelpie_personal_trainer-0.2.18.tar.gz.

File metadata

File hashes

Hashes for kelpie_personal_trainer-0.2.18.tar.gz
Algorithm Hash digest
SHA256 3d9daf7349d1b6ae21167f42937ccf0e1d7ffa3eb10c7aebc2d5320c0363b642
MD5 bd8931628f691b7379ed17c21f110c7a
BLAKE2b-256 db8b24e8d3082f856f1902a42089b086f577a655e9d2186e9b013fe00de976bc

See more details on using hashes here.

File details

Details for the file kelpie_personal_trainer-0.2.18-py3-none-any.whl.

File metadata

File hashes

Hashes for kelpie_personal_trainer-0.2.18-py3-none-any.whl
Algorithm Hash digest
SHA256 9945678d07a60f28afe6da11e9995906a4f9ae13ea03ba34364e6baaf4207dbc
MD5 a2001fd7622995c9cd74eea819229ffa
BLAKE2b-256 461ec91f79aa12edb5486e81fbe3976a87031814ad631f530d18fd93cd0b9744

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page