capture-guide
60 fps browser capture gate for documents, IDs, and receipts. Flags glare, blur, and corner cutoff in real time, then returns a cropped, dewarped scan and corner coordinates.
Replaces: jscanify, scanic, OpenCV.js, docaligner-docsaid, Dynamsoft Document Normalizer, Scanbot Web SDK
- cloud fallback
- $0.03 a scan
- to read one video frame · T1 target
- Under 15 ms
- output format
- Cropped media + JSON
- $0 server GPU cost, no image upload
- 60 fps in browser
- price set; not live yet
- Early access
Nano vs. Pro preview
Sample comparison of Nano and Pro on a tilted, glared receipt in a mobile browser.
Pro waits until blur, glare, and cutoff clear, then outputs a dewarped, shadow-cleaned scan.
Output: dewarped_pro.png + readiness flags + 4-corner quad
- delivery_mode
- browser_webgpu
- ready_to_capture
- true
- blur_score
- 0.08
- glare_over_text
- false
- cutoff_edges
- 0
How to call it
Run in Chrome, Safari, and Firefox with the WebGPU SDK ($0 server GPU), or call the same model on Cloud or a --network=none VPC.
import { load } from 'milliframe/browser';
// Start on free Apache-2.0 Nano, or pass a Pro offline license:
const runner = await load({
model: 'capture-guide',
// license: 'YOUR_OFFLINE_LICENSE',
});
for await (const event of runner.read(cameraStream)) {
console.log(event.models['capture-guide']);
}from milliframe import Client
# Start locally on Apache-2.0 Nano ($0 GPU, zero upload):
client = Client(runtime="local_nano")
# Switch one line for Cloud Pro or your --network=none VPC:
# client = Client(api_key="YOUR_KEY")
# client = Client(base_url="http://localhost:8080")
result = client.analyze(
file="id_capture.jpg",
model="capture-guide",
output="both", # "media" | "json" | "both"
)What it returns
Output fields returned in the result (output="media" | "json" | "both").
| Field | What it means | Example |
|---|---|---|
| artifacts.output_media_url | Cropped, dewarped, lighting-normalized PNG, JPEG, or PDF (URL in Cloud, local blob in WebGPU). | https://…/dewarped.png |
| capture_ready | True once glare, blur, skew, and corner-cutoff checks pass. | true |
| quad | Normalized 4-corner coordinates and quality scores. | [[0.12, 0.14], [0.89, 0.13], [0.91, 0.87], [0.10, 0.88]] |
What it costs
Public Cloud rates and offline licenses are set before launch.
| How it runs | Price |
|---|---|
| Cloud fallback, on the cloud API | $0.03 a scan |
| Cloud fallback, at volume (Pro plan) | $0.02 a scan |
| In the browser ($0 server GPU) | Offline license (Browser / Edge SDK): Pro ($499 a month, <=50,000 MAU), or contact us for Business / Embed (250,000 MAU) and Scale OEM / Fleet (OEM) |
| In your VPC (--network=none) | Offline license: 1 internal node on Pro ($499 a month), or contact us for Business / Embed (up to 5 nodes) and Scale OEM / Fleet (up to 25 nodes or OEM). Includes a 14-day trial. |
Build vs. buy: Replaces brittle contour scripts and heavy client bundles with a 60 fps WebGPU glare, blur, and cutoff gate plus lighting cleanup. Runs on-device at $0 server GPU cost (from $499/mo).
Where it is used
Stacks that include this model and what it outputs in each.
| Use case | What it reports there | Price |
|---|---|---|
| Browser scan, capture and conferencing OEMs | Glare, blur and cutoff gating plus auto-crop and dewarp | $0.03 a scan |
| Returns, claims and document forensics | Glare, blur and cutoff gating plus dewarped capture | $0.03 a scan |
Nano vs. Pro
| Feature | Nano (Apache-2.0) | Pro |
|---|---|---|
| Where it runs | Local Python or browser SDK (Apache-2.0) | Cloud API, WebGPU SDK, or --network=none VPC container |
| Output | Cropped media + JSON (same SDK schema) | Cropped media + JSON + signed receipts |
| Capture & dewarp | Corner detection and perspective crop (Apache-2.0) | Glare/blur/cutoff gating, shadow cleanup, 60 fps WebGPU/WASM SDK |
| Legal & compliance | Apache-2.0 as-is, no warranty | NDA DATA_BOM.json, licensed training-data warranty (Scale+), Bonterms MSA/DPA/HIPAA BAA, 0 AGPL / 0 NC |
| Version pinning | Immutable Apache-2.0 weights | Pinned by default where outputs affect people; opt-in latest-stable; 90-day pinning (Business+); 2–5 yr LTS (Scale+) |
| Price | Free ($0 Apache-2.0) | $0.03 a scan cloud fallback, or offline license |
When another tool fits better
Use Apple VisionKit or Google ML Kit if you only ship native mobile apps with no web, PWA, or server pipeline. For general documents, receipts, and IDs only (excludes mobile bank check-deposit capture).
Custom model work
Need domain tuning or custom VPC packaging?
Need a custom model tuned to your domain or packaged for your VPC? Fixed-scope engagements include isolated data handling, provenance docs, and rollout onto a standard plan.
Not open yet. Be told when it is.
Tell us what you are building and which models you need, and we will write when they open.