Spaces:
Runtime error
Runtime error
Commit History
-
Add debug mode to show confidence scores inside detection circles.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>6544822 -
Improve detection accuracy with tiling defaults, 1024 model, and tuned thresholds.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>2b21a73 -
Raise detect timeout for dense bundles and speed up server NMS.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>d16c4ed -
Add crop step to define detection area before server counting.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>238d8e3 -
Smaller spatial circle labels and settings update-app button.
Khunndev +1: CursorNumber pipes top-left to bottom-right, tighten label sizing, and reload home with a cache-busting timestamp from settings. Co-authored-by: Cursor <cursoragent@cursor.com>ffdf130 -
Fix server mode sticking and results canvas layout above dock.
Khunndev +1: CursorStop silent local fallback when server is selected, retry health checks, and fit the result image in the viewport above the bottom action bar. Co-authored-by: Cursor <cursoragent@cursor.com>0758854 -
Add Nawaplastic brand assets, credit footer, and PWA icons.
Khunndev +1: CursorFetch PNG icons and background at build time from the legacy HF space (HF git rejects binaries). Apply branded capture screen and Digital Manufacturing credit. Co-authored-by: Cursor <cursoragent@cursor.com>e205988 -
Default to server-side counting with configurable inference mode in settings
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>ebe2f4e -
Add server-side detection fallback for devices that can't run the model locally
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>06bdaca -
Harden model loading for low-end Android (single-thread WASM, WebGPU pre-check + warmup, lazy load, retry UI)
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>d600757 -
Renovate UI: directional native navigation, design tokens, dead-code cleanup
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>bd603dd -
Add wizard UX flow with circle-draw animation
Khunndev +1: Cursor- 4-step wizard: Capture -> Preview -> Counting -> Results - StepCapture: hero screen with large camera/gallery CTAs and model-ready ring - StepPreview: image preview + full settings + sticky count button - StepCounting: fullscreen animation (pulsing rings, blurred image bg, sliding progress bar) - StepResults: circle-draw animation via ResultCanvas (arc sweep per pipe, 8ms stagger) - Circles appear one-by-one in spatial order (top->bottom, left->right) - Each stroke sweeps clockwise from 12 o'clock over 220ms with ease-out - Count display updates live via DOM ref (no React re-render overhead) - Tap anywhere to skip animation; double-tap to reset zoom - Pinch-to-zoom and pan enabled after animation completes - Correction tools (GroupPanel, ToolBar) appear after animation - Step dots progress indicator in header - ResultCanvas replaces DetectionCanvas in results phase Co-authored-by: Cursor <cursoragent@cursor.com>ddec551 -
Overhaul mobile PWA UX: sticky header/bar, filled circles, pinch-to-zoom
Khunndev +1: Cursor- Mobile-first layout: sticky header with model-ready indicator, bottom action bar with safe-area insets - Filled semi-transparent circles fit inside each detected pipe with centered number labels - Pinch-to-zoom and one-finger pan on result canvas; double-tap resets; zoom badge with one-tap reset - Settings collapsed behind gear icon; toggle switches instead of checkboxes - Export bottom sheet slide-up; processing fullscreen overlay - GroupPanel scrolls horizontally on mobile; icon ToolBar with 44px+ tap targets - Empty state onboarding screen with large camera/gallery buttons - viewport-fit=cover + safe-area CSS for notched phones Co-authored-by: Cursor <cursoragent@cursor.com>40fe69e -
Support image enhancement, outlier filtering, and adaptive multi-tile detection
Khunndev- Add UI controls for image enhancement (contrast + sharpen) and outlier filtering - Replace fixed 4-tile logic with dynamic grid sizing based on image megapixels - Update model selection to prefer 1024px for production photos, 640px only for small previews - Sync Python test script with frontend preprocessing and tiling behavior2eba938 -
Deploy offline-first PWA with in-browser ONNX inference
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>0e0cc3e