Skip to content

Arham cv#10

Open
Arham-Tahir64 wants to merge 35 commits intomainfrom
arham-CV
Open

Arham cv#10
Arham-Tahir64 wants to merge 35 commits intomainfrom
arham-CV

Conversation

@Arham-Tahir64
Copy link
Collaborator

CV pipeline

Arham-Tahir64 and others added 30 commits February 10, 2026 18:26
- New OpenCV-based pipeline (preprocessing, wall detection, tag detection)
  that converts pixel-based floor plans into vectorized JSON output
- Wall detection with morphological isolation, thickness/length filtering,
  and collinear segment merging (targets 15-20 walls)
- Door tag detection via Hough Circle Transform with wall proximity filter
- Window tag detection via flat-top hexagon contour matching, calibrated
  from the drawing's own legend symbols (area ~1400-1800px², aspect ~1.3)
- API routes for CV takeoff analysis (file upload and URL endpoints)
- Annotation script for visual debugging of detections
- Updated takeoff prompt with Spatial Verification Protocol
- Added opencv-python-headless, numpy, pymupdf dependencies

Co-authored-by: Cursor <cursoragent@cursor.com>
These files contain secrets and should not be in version control.
Both are already listed in .gitignore.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Use orientation-matched masks (h_mask/v_mask) instead of combined_mask
  for visual_thickness measurement, eliminating perpendicular wall
  contamination at T/L-junctions
- Add endpoint margin and absolute cap on visual_thickness
- Add junction corner fills in annotation to bridge erosion gaps
- Reduce MIN_PIECE_LENGTH 50→30 to preserve short wall stubs
- Add diagnose_walls.py instrumentation script
- Add WALL_DETECTION_FIXES.md write-up

Co-authored-by: Cursor <cursoragent@cursor.com>
- Add shared AuthLayout (two-column desktop, single-column mobile)
- Redesign Sign In/Sign Up with premium card UI, icon inputs,
  show-password toggle, forgot-password stub, gradient CTA
- Add CSS tokens for auth surfaces (--auth-surface, --auth-border, --auth-ring)
- Add FloorPlanReveal component: 3-phase SVG stroke animation
  (horizontals → verticals → details) triggered by IntersectionObserver
- Add useInViewOnce hook
- Replace "Video Coming Soon" placeholder with animated floor plan

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants