Created on 24th June 2025
•
Problem
Staying active and healthy has never been more important—with rising rates of obesity, sedentary lifestyles, and preventable injuries. Yet quality fitness guidance is often inaccessible: personal trainers are expensive, gyms can be intimidating, and most fitness apps offer little more than rep counting. People are left guessing about their form, risking injury, burnout, or wasted effort with minimal results.
Good form is essential for injury prevention and effective workouts. Whether you're a beginner or advanced athlete, poor technique can limit progress, cause muscle imbalances, or lead to long-term injuries. Traditional fitness apps and trackers fail to address this fundamental gap: they count reps, but they don’t correct them.
Solution
Imperfect Coach uses your device’s camera and advanced AI to analyze your movement in real time, giving instant feedback on form, posture, and performance. Whether you're doing pull-ups or jump training, it provides personalized coaching, automatic rep counting, and detailed performance analytics—all without needing wearables or sensors. With support for multiple AI coach personalities and a blockchain-based leaderboard, users can train smarter, stay safer, and track progress with unmatched transparency and precision.
Imperfect Coach democratizes access to high-quality fitness coaching using a camera and AI—no wearables, no expensive trainers, no guesswork. It gives real-time form analysis, rep counting, and personalized feedback, making it easier and safer to exercise effectively from anywhere. Whether you're looking to improve performance, build healthy habits, or simply move with better mechanics, Imperfect Coach adapts to your level and needs.
Impact
By lowering the cost and complexity of expert fitness guidance, Imperfect Coach supports a more inclusive approach to health and wellness. With features like multiple coaching styles, mobile-friendly design, and gamified blockchain leaderboards, it not only motivates users but builds a community around progress. It’s not just a tool for better workouts—it’s a step toward a healthier, more supported, and more accessible fitness future.
One issue stemmed from how AWS API Gateway (HTTP API) handles CORS preflight (OPTIONS) requests. Although the OPTIONS /analyze-workout route was correctly integrated with a Lambda function that returned proper CORS headers, API Gateway silently stripped critical headers like Access-Control-Allow-Origin because it requires CORS to be configured explicitly in the route settings. Attempts to manually pass these headers using parameter mappings failed due to API Gateway restrictions on modifying CORS-related headers. One fix was to enable and configure CORS directly in the API Gateway route, allowing the necessary headers to pass through and resolve the CORS error on the frontend - it worked in testing but not in practice.
To resolve the CORS and integration complexity, the final solution was to move the logic that previously ran on the client—such as making requests to the API—into the server-side Lambda function itself. By doing so, the frontend only communicates with the API Gateway endpoint, and all external API calls happen securely and seamlessly on the backend. This approach avoids CORS altogether, eliminates the need for exposing sensitive keys to the browser, and simplifies the architecture by centralizing control and response formatting on the server - likely what i should have been doing in the first place.
The wallet api docs were a little confusing, particularly when it comes to what combination of the CDP API KEY vs WALLET SECRET vs CDP SECRET KEY to use.
Tracks Applied (2)
Amazon Web Services
Technologies used
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.