Body Measurement for Tailoring
A Flutter-based mobile app that allows users to take photos in specific poses, processes the images on a backend server using advanced machine learning models, and provides accurate body measurements for custom tailoring. The app ensures a seamless, secure, and user-friendly experience.
- Photo Capture: Guides users to capture images in specific poses for accurate measurements.
- Server-side Processing: Images are uploaded to a secure backend for processing using advanced ML models.
- Measurement Extraction: Fetches and calculates key body measurements such as:
- Shoulder Width
- Chest Circumference
- Waist Circumference
- Sleeve lenght
- Outseam Length (for pants)
- Real-Time Feedback: Displays measurement results in a clean and user-friendly interface.
- Framework: Flutter (Dart)
- Libraries:
camera
(for capturing images)image_picker
(optional for gallery access)http
(for API calls to the backend)
- Framework: Flask
- Image Processing: MediaPipe, OpenCV, Human Outline Detection
- Database: (Optional) PostgreSQL for logging or tailor integration.
- Flutter SDK: Install Flutter
- Backend server setup with the mediapipe and openCV ML models.
- Device with a working camera.
- Clone the repository:
git clone https://github.com/joshsoftware/hackathon-team-1.git cd body-measurement-app
- Install dependencies:
flutter pub get
- Run the app:
flutter run
- Ensure your backend is up and running to process the images.
- Use the provided API endpoint to connect the app with the backend.
- Capture Photos: Users are guided to take photos in specific poses.
- Upload to Server: Captured images are securely uploaded to the backend.
- Image Processing: The backend processes images using ML models to detect keypoints and calculate measurements.
- Retrieve Results: The app fetches the measurements and displays them in a user-friendly format.
- Shoulder Width: Distance between shoulder keypoints.
- Chest/Bust Circumference: Estimated from chest and back keypoints.
- Waist Circumference: Calculated from the narrowest torso keypoints.
- Shirt Length: Shirt Length
- Arm Length: Length between shoulder and wrist point
- Outseam Length: Length of Leg
- Add AR-based guidelines for pose correction.
- Add more measurements eg bicep, neck measurements, etc
- Enhance measurement accuracy with depth data from LiDAR (for supported devices).
- Integrate tailor APIs for seamless measurement sharing.
- Add multi-language support for global users.
We welcome contributions to improve this app!
- Fork the repository.
- Create a feature branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add new feature"
- Push to your branch:
git push origin feature-name
- Open a pull request.
For any questions or collaboration requests, feel free to reach out:
- Email: amit.rawal@joshsoftware.com