Defect scoring, tolerance validation, and QC reporting for clothing manufacturing.
Project description
GarmentQC
A lightweight, dependency-free Python library for quality control scoring in clothing manufacturing pipelines.
Modules
- DefectScorer — scores individual garment defects (0-10) based on defect type, location on the garment, and physical size.
- ToleranceValidator — validates measured garment dimensions against a target size chart with configurable tolerance ranges.
- QualityReportGenerator — aggregates defect scores for a batch into a pass / rework / reject recommendation.
Example
from garmentqc import DefectScorer
scorer = DefectScorer(defect_type="torn_seam", location="front_panel", size_cm=3.5)
print(scorer.score())
print(scorer.severity_label())
Used in the ThreadFlow platform to automatically score defect photos uploaded by QC inspectors, as part of an AWS Lambda function triggered by S3 uploads.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file garmentqc-0.1.0.tar.gz.
File metadata
- Download URL: garmentqc-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bd87ba4893f90c41f8bd39483261049371e8825835c8d3c6d230d2f0968119d
|
|
| MD5 |
950e6dae64e6f9c9e520a355f413ea50
|
|
| BLAKE2b-256 |
5768dea2dac4a03b0318683578409679d8660f1f0b00454fe229b33265575b05
|
File details
Details for the file garmentqc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: garmentqc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02108431a846dc0fd6db3b61e3337bc8511ed1457c58db98897dcf0066e26a41
|
|
| MD5 |
4a6c1a10da951a38e36dccb98efae2ba
|
|
| BLAKE2b-256 |
6d81730cef1512cb93cb74a8314200352e3db00e88670b8c26b2e8e34478c0a6
|