Spaces:
Runtime error
Runtime error
Commit History
-
Fix iOS Safari: viewport vh fallback, grain overlay scoping, and a smaller display size.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>b425317 -
Drop the lossy 2000px resize now that parallel tiling and O(n) post-processing handle speed.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>cd8f1ba -
Restore liberal server tiling so dense small images keep accurate counts.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>cac4938 -
Make server centroid dedup O(n) and tune dedup thresholds.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>1f3b2fa -
Make client NMS and centroid dedup O(n) with a spatial grid for dense bundles.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>4608266 -
Polish the crop and preview screens with type presets and mono dimension readouts.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>13ef64d -
Refine the results dock and group panel with a hero total and polished controls.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>bb3304c -
Make the counting-to-results moment theatrical with a mono count-up and precision timer.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>eef382a -
Elevate the capture screen with a staggered entrance and premium depth.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>593439e -
Establish a premium refined-light design system with IBM Plex typography and depth tokens.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>58e400a -
Recolor the app theme from orange to navy blue.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>4afeb0c -
Center the count button and show a live elapsed-seconds timer while counting.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>906b5bb -
Resize large photos to 2000px before the pipeline to cut tile count and upload size.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>d96623b -
Run tile inference concurrently with memory-aware concurrency to cut counting wall-clock time.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>0fdcb52 -
Write the inference tensor in CHW layout in a single pass to halve per-tile allocation.
Khunndev +1: SisyphusUltraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>76b467a
-
Reduce over-count with median-NN dedup, IOS NMS, shape filter, and per-step report.
Khunndevb505c60 -
Improve recall for dense mixed-size bundles with adaptive post-processing.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>e3b60de -
Fix circle labels mismatching dock total after tiled detection.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>c9976d7 -
Add inference post-processing: conf 0.6, IoU 0.35, box filter, and center merge.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>190dbf0 -
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 -
Hide circle number labels during intro animation until dock appears.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>bdf846b -
Fix Docker build when brand asset fetch returns 429 by using bundled fallbacks.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>86defa3 -
Restore circle draw animation and show dock only after it finishes.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>43b8802 -
Fix false 429 busy errors from zero-timeout semaphore acquire.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>1337f5b -
Show detection results once without replaying count animation.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>629238b -
Limit server detect to 20 concurrent requests with 10s timeout.
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>a34f575 -
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 -
Light CountThings theme, settings drawer, and results dock UX.
Khunndev +1: CursorRaise detection confidence to 0.72, fix circle label centering, move counting mode into a side settings panel, and add a sticky post-detect action bar. Co-authored-by: Cursor <cursoragent@cursor.com>d30af0c -
Fit circle numbers to size with measureText and clip inside ring
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>c865058 -
Default to server-side counting with configurable inference mode in settings
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>ebe2f4e -
Prevent renderer OOM crash on low-memory devices (offload heavy jobs to server, cap result canvas, lighter warmup)
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>d64e218 -
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 -
Thinner circle stroke, center number in every circle
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>1596a62 -
Renovate UI: directional native navigation, design tokens, dead-code cleanup
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>bd603dd -
Default groups=1, remove enhance toggle, fit circles inside pipes
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>12c56cd -
Improve UX/UI for native mobile app feel
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>445c3cc -
Fix canvas redraw on tap and circle overflow
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>7a0d096 -
Draw circles on full-resolution original photo (fix blurry result)
Khunndev +1: CursorPreviously canvas.width was set to the display container width (~390px), compressing the image and circles. Now canvas.width = image.naturalWidth so the photo is drawn at full resolution and CSS width:100% scales it down for display. All circle/stroke/font sizes are expressed in natural-image pixels computed from a displayPx factor so they remain visually correct on any screen size. Co-authored-by: Cursor <cursoragent@cursor.com>5fa7413 -
Show count numbers inside circles from start of animation
Khunndev +1: CursorCo-authored-by: Cursor <cursoragent@cursor.com>fa9c7b9 -
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 -
Fix Docker npm ci by syncing package-lock for Linux builds.
Khunndev +1: CursorRegenerate the lockfile with Alpine/Linux optional deps (@emnapi 1.11.1) so HF Docker builds pass npm ci. Co-authored-by: Cursor <cursoragent@cursor.com>bb2225c -
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