Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,5 +8,21 @@ sdk_version: 5.49.1
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
+
# Particle Shape QC — ISO 9276-6 / ASTM F1877 (with Image Pre-check)
|
| 12 |
+
|
| 13 |
+
This Space analyzes particle shapes from SEM/optical micrographs. It now includes an **Image Quality Pre-check** enforcing the following **Must** items:
|
| 14 |
+
|
| 15 |
+
- Scale bar present (e.g., 100 µm) **or** user-provided µm/px; bar width ≥ 30 px.
|
| 16 |
+
- Orthographic view (no perspective skew).
|
| 17 |
+
- Touching/aggregate ratio ≤ 30% (estimated via distance-transform peaks).
|
| 18 |
+
- Clean background and sufficient contrast.
|
| 19 |
+
- Minimum particle ECD ≥ 20 px.
|
| 20 |
+
|
| 21 |
+
Workflow:
|
| 22 |
+
1. Upload an image → Click **Quality pre-check** (get pass/fail & hints).
|
| 23 |
+
2. Adjust thresholds/scale if needed.
|
| 24 |
+
3. **Run analysis** to compute ISO/ASTM circularity, aspect ratio, pass rates, CSV export, and failing-particle overlay.
|
| 25 |
+
|
| 26 |
+
See `app.py` for details.
|
| 27 |
|
| 28 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|