How claower3d/construction-main works
QazGost AI is a Kazakhstan construction platform whose documented technical workflow runs from a React client through a Go REST backend to Python AI services. Users submit construction photos for defect/object analysis, LiDAR scans for measurements and standards checks, or engineering inputs for norm-based estimates and reports. The tree also shows broader engineer, executor, and manager workflows. The README documents the service topology; sampled pipeline and API excerpts confirm selected analysis and calculation stages, but many UI and backend connections remain unverified.
Main entry points: pipeline.py Photo analysis pipeline · engineering.py FastAPI service · main.go Go API server · App.jsx React client
Components 21
Client applications
- React client
frontend/src/App.jsx - Engineer workspace
frontend/src/components/EngineerDashboardPage.jsx - Engineer mobile
mobile-engineer/src/api/engineerApi.js
API and platform
- Go API server
go-backend/cmd/server/main.go - SQLite data store
go-backend/pkg/database/database.go - FastAPI service
ai-service/app/api/v1/engineering.py - Web platform database
WebVersion/backend/src/database/connection.js
Photo analysis
- Photo analysis pipeline
ai-service/app/services/pipeline.py - RF-DETR detector
ai-service/app/models/rfdetr.py - Defect analysis
ai-service/app/models/defect_detector.py - Vision-language analysis
ai-service/app/models/qwen_vlm.py - Mask segmentation
ai-service/app/models/sam_segmentor.py - Scale calibration
ai-service/app/services/calibrator.py - Volume measurement
ai-service/app/services/volume.py
Engineering tools
- Automatic estimator
ai-service/app/services/estimator.py - LiDAR endpoints
ai-service/app/api/v1/engineering.py - Point-cloud processor
ai-service/app/services/lidar.py - Calculation endpoints
ai-service/app/api/v1/engineering.py - Engineering calculator
ai-service/app/services/engineering_calc.py - PDF and Excel reports
ai-service/app/services/report_generator.py
Other components
- Construction user
Connections 19
- Construction user → React client: uses
README.md - React client → Go API server: sends API requests
README.md - Go API server → FastAPI service: proxies AI requests
README.md - Engineer workspace → Construction user: supports engineer role
frontend/src/components/EngineerDashboardPage.jsx - Engineer mobile → Web platform database: syncs engineer data
- Go API server → SQLite data store: uses SQLite
README.md - FastAPI service → Photo analysis pipeline: runs photo analysis
- Photo analysis pipeline → RF-DETR detector: detects objects
ai-service/app/services/pipeline.py - Photo analysis pipeline → Defect analysis: analyzes defects
ai-service/app/services/pipeline.py - Photo analysis pipeline → Vision-language analysis: analyzes image
ai-service/app/services/pipeline.py - Photo analysis pipeline → Mask segmentation: refines masks
ai-service/app/services/pipeline.py - Photo analysis pipeline → Scale calibration: calibrates scale
ai-service/app/services/pipeline.py - Photo analysis pipeline → Volume measurement: measures volumes
ai-service/app/services/pipeline.py - Photo analysis pipeline → Automatic estimator: generates estimate
ai-service/app/services/pipeline.py - FastAPI service → Point-cloud processor: processes scans
ai-service/app/api/v1/engineering.py - FastAPI service → Engineering calculator: calculates costs
ai-service/app/api/v1/engineering.py - FastAPI service → PDF and Excel reports: generates reports
ai-service/app/api/v1/engineering.py - Construction user → LiDAR endpoints: submits LiDAR scan
README.md - Construction user → Calculation endpoints: submits estimate inputs
README.md