SkillAgentSearch skills...

Hiitpi

A workout trainer Dash/Flask app that helps track your HIIT workouts by analyzing real-time video streaming from your sweet Pi using machine learning and Edge TPU..

Install / Use

/learn @jingw222/Hiitpi
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

HIIT PI

HIIT PI is a Dash app that uses machine learning (specifically pose estimation) on edge devices to help track your HIIT workout progress in real time (~30fps). The backend runs everything locally on a Raspberry Pi while you interact with the app wherever there is a web browser connecting to the same local network as the Pi does.

How it works

Hardwares

Softwares

Usage

  1. SSH into your Raspberry Pi and clone the repository.

  2. Install Docker & Docker Compose.

  3. Build our Docker images and spawn up the containers with

    $ docker-compose -d --build up 
    
  4. (Optional) For maximum performance, swap the standard Edge TPU runtime library libedgetpu1-legacy-std with libedgetpu1-legacy-max

    1. get into the shell of container web-hiitpi by
      $ docker exec -it web-hiitpi bash
      
    2. run the following inside the container
      $ DEBIAN_FRONTEND=dialog apt-get install -y libedgetpu1-legacy-max
      
      Note: select yes and hit ENTER in the interactive installation process.
    3. restart the web service after the above install finishes
      $ docker-compose restart web 
      
  5. Go to <your_pis_ip_address>:8050 on a device in the same LAN as the Pi's, and then enter a player name in the welcome page to get started.

  6. The live-updating line graphs show the model inferencing time (~50fps) and pose score frame by frame, which indicates how likely the camera senses a person in front.

  7. Selecting a workout from the dropdown menu starts a training session, where your training session stats (reps & pace) are updating in the widgets below as the workout progresses. Tap the DONE! button to complete the session, or EXIT? to switch a player. Click LEADERBOARD to view total reps accomplished by top players.

Notes

  • This project currently has implemented a couple of workouts to play with, and we're planning to expand our workout repertoire as it evolves over time.

Related Skills

docs-writer

99.0k

`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie

model-usage

335.2k

Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.

pr

for a github pr, please respond in the following format - ## What type of PR is this? - [ ] 🍕 Feature - [ ] 🐛 Bug Fix - [ ] 📝 Documentation - [ ] 🧑‍💻 Code Refactor - [ ] 🔧 Other ## Description <!-- What changed and why? Optional: include screenshots or other supporting artifacts. --> ## Related Issues <!-- Link issues like: Fixes #123 --> ## Updated requirements or dependencies? - [ ] Requirements or dependencies added/updated/removed - [ ] No requirements changed ## Testing - [ ] Tests added/updated - [ ] No tests needed **How to test or why no tests:** <!-- Describe test steps or explain why tests aren't needed --> ## Checklist - [ ] Self-reviewed the code - [ ] Tests pass locally - [ ] No console errors/warnings ## [optional] What gif best describes this PR?

Design

Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t

View on GitHub
GitHub Stars177
CategoryContent
Updated4mo ago
Forks22

Languages

Python

Security Score

97/100

Audited on Nov 25, 2025

No findings