Engineering Manual v1.0

CNF DEVELOPER HANDBOOK

Chaparrito NalgΓ³n Framework β€” pipeline architecture, subsystem contracts, metrics engine, API gateway, and certification workflow.

Version: 1.0  |  Status: PUBLISHED  |  Maintainer: BBMB Engineering

1. Purpose & Philosophy

The Chaparrito NalgΓ³n Framework (CNF) is a standardized, modular computer-vision pipeline for lower-body contour geometry extraction, denim fit analysis, cloth-body interaction modeling, SMPL-X mesh reconstruction, fit-grade scoring, and manufacturing pattern optimization.

CNF is designed to be:

2. System Overview Guided Link: Technical Documentation β†’

CNF consists of six major layers:

1. IngestionUpload validation, object storage, event emission.
2. CV Core (GPU)Segmentation, pose lifting, SMPL-X fitting, cloth mesh.
3. Body MeshParametric shape + pose parameters, silhouette alignment.
4. Cloth MeshCanonical denim mesh warped by offset fields.
5. Metrics Engine (CPU)Curvature, projection, tension, FitBand.
6. API + StorageREST gateway, provenance logging, DB + object store.

3. Ingestion Layer Guided Link: Live Scanner β†’

4. CV Core (GPU) Guided Link: cv-pipeline.js β†’

5. CNF Metrics Engine (CPU) Guided Link: 3D Viewer β†’

6. CNF Outputs (JSON Schemas) Guided Link: Technical Standard β†’

Every CNF case produces four standardized outputs:

7. API Gateway (v1.2) Guided Link: API Reference β†’

Version header: X-CNF-Version: 1.2

Developer-ready OpenAPI contract:

8. Database Schema

9. Microservice Architecture

10. Certification Workflow Guided Link: CNF Handbook β†’

  1. Stage 1: Scan ingestion β€” assign cnfcaseid, store raw image, trigger orchestrator.
  2. Stage 2: CV processing β€” segmentation, pose lifting, SMPL-X fitting, cloth mesh, optional depth refinement.
  3. Stage 3: Metric extraction β€” curvature, projection vector, distance fields, tension zones, FitBand.
  4. Stage 4: Fit-grade report β€” assign CNF grades A/B/C, evaluate Levi’s compatibility, set Mesh-Ready flag.
  5. Stage 5: Certification label β€” seat grade, stability, tension, FitBand, pass/fail, Master Mold candidate flag.
  6. Stage 6: Storage & API β€” store all artifacts, expose via /api/cnf/scan/{id}.
  7. Stage 7: Master Mold integration β€” high-grade cases promoted to template updates.

11. Developer Training

12. Roadmap