Skip to content

foudhilriahi/sizecharter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A real-world clothing size recommendation system API inspired by SizeCharter.com.
This Flask-based REST API provides personalized size recommendations based on detailed body measurements and morphology, with intelligent analysis and real-world sizing logic for women’s, men’s, and maternity categories.


Table of Contents

  1. Overview
  2. Features
  3. Getting Started
  4. API Usage
  5. Input Parameters
  6. Response Format
  7. Algorithm Highlights
  8. Examples
  9. Contributing
  10. License

Overview

The SizeCharter Mimic API intelligently recommends clothing sizes based on:

  • Comprehensive body measurements (chest, waist, hips, inseam, shoulders, neck, thigh, calf)
  • Body morphology including body shape, abdomen shape, and hip shape
  • Realistic health checks and measurement consistency warnings
  • Multi-gender support: women's, men's, and maternity sizing rules

The API is designed for integration with any app or platform, offering JSON REST endpoints with CORS enabled.


Features

  • Advanced body shape inference using multiple body metrics
  • Dominant measurement detection for personalized size impact analysis
  • Morphology-based measurement adjustments for a tailored fit
  • Health and consistency warnings to alert unusual inputs
  • Multi-category sizing: women's, men's, maternity
  • Lightweight Flask REST API with CORS support
  • Ready for easy integration with web, mobile, or desktop apps

Getting Started

Prerequisites

  • Python 3.8+
  • pip package manager

Installation

git clone https://github.com/foudhilriahi/sizecharter.git
cd Folder
pip install Flask Flask-CORS


python sizecharter_api.py







API Usage


Endpoint
bash
Copy
Edit
POST /api/size
Content-Type: application/json
Example Request
json
Copy
Edit
{
  "gender": "womens",
  "chest": 85,
  "waist": 68,
  "hips": 94,
  "shoulders": 40,
  "neck": 33,
  "thigh": 55,
  "calf": 36,
  "abdomen_shape": "hourglass",
  "hip_shape": "curved"
}

About

real-world clothing size recommendation system API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published