scanic 1.1.1 โ†’ 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,17 +7,19 @@
7
7
  <p align="center">
8
8
  <a href="https://npmjs.com/package/scanic"><img src="https://badgen.net/npm/dw/scanic"></a>
9
9
  <br />
10
- <a href="https://github.com/marquaye/scanic/blob/master/LICENSE"><img src="https://img.shields.io/github/license/marquaye/scanic.svg"></a>
10
+ <a href="https://github.com/marquaye/scanic/blob/main/LICENSE"><img src="https://img.shields.io/github/license/marquaye/scanic.svg"></a>
11
11
  <a href="https://npmjs.com/package/scanic"><img src="https://badgen.net/npm/v/scanic"></a>
12
+ <a href="https://bundlephobia.com/package/scanic"><img src="https://img.shields.io/bundlephobia/minzip/scanic"></a>
13
+ <a href="https://marquaye.github.io/scanic"><img src="https://img.shields.io/badge/docs-online-6366f1"></a>
12
14
  </p>
13
15
 
14
- # Scanic ๐Ÿ“„โšก
16
+ # Scanic
15
17
 
16
18
  **Ultra-fast, production-ready document scanning for the modern Web.**
17
19
 
18
20
  Scanic is a high-performance document scanner library that brings professional-grade document edge detection and perspective correction to the browser and Node.js. By combining **Rust-powered WebAssembly** for pixel crunching and **GPU-accelerated Canvas** for image warping, Scanic delivers near-native performance (~10ms transforms) with a tiny footprint.
19
21
 
20
- [**Live Demo**](https://marquaye.github.io/scanic) | [**Framework Examples**](#๐Ÿ’ป-framework-examples) | [**API Reference**](#โš™๏ธ-api-reference)
22
+ [**Documentation**](https://marquaye.github.io/scanic) | [**Live Demo**](https://marquaye.github.io/scanic/demo/) | [**Framework Examples**](#๐Ÿ’ป-framework-examples) | [**API Reference**](https://marquaye.github.io/scanic/api/reference)
21
23
 
22
24
  ---
23
25
 
@@ -41,14 +43,17 @@ Traditional web scanning solutions often force a trade-off:
41
43
  - ๐Ÿฆ€ **WASM Core**: High-performance Gaussian Blur, Canny Edge Detection, and Dilation.
42
44
  - ๐Ÿ› ๏ธ **Modern API**: Clean, Promise-based API with full **TypeScript** support.
43
45
  - ๐Ÿ“ฆ **Featherweight**: Under **100KB** total size (gzipped).
46
+ - ๐Ÿค– **Optional ML detector**: opt into a neural corner detector for hard photos โ€” lazy-loaded, zero cost to classical users. See the [ML Detection guide](https://marquaye.github.io/scanic/guide/ml-detection).
44
47
  - ๐Ÿงช **Production Grade**: Built-in regression tests with physical image baselines.
45
48
 
46
- ## ๐Ÿ†• What's New (v1.0.7)
49
+ ## ๐Ÿ†• What's New
47
50
 
48
- - Improved default document quality with adaptive multi-pass candidate evaluation.
49
- - More stable corners on noisy contours through multi-epsilon approximation and duplicate-vertex cleanup.
50
- - Expanded debug tooling with full test image coverage and corner delta comparison against jscanify.
51
- - Expanded live demo sample set for broader real-world validation.
51
+ See the [**full documentation**](https://marquaye.github.io/scanic), the
52
+ [**changelog**](CHANGELOG.md), and the [**releases**](https://github.com/marquaye/scanic/releases)
53
+ for the latest. Recent highlights:
54
+
55
+ - **Styleable corner editor** โ€” a built-in, touch-friendly UI to fine-tune detected corners, now fully themeable via CSS variables with a polished default toolbar. See the [corner editor guide](https://marquaye.github.io/scanic/guide/corner-editor).
56
+ - **New docs site** with guides for Web/Node.js/Electron/React/Vue and an interactive in-browser playground.
52
57
 
53
58
  ---
54
59
 
@@ -72,7 +77,7 @@ yarn add scanic
72
77
  ## ๐ŸŽฎ Demo
73
78
 
74
79
  Try the interactive scanner in your browser:
75
- ๐Ÿ‘‰ [**Open Scanic Live Demo**](https://marquaye.github.io/scanic)
80
+ ๐Ÿ‘‰ [**Open Scanic Live Demo**](https://marquaye.github.io/scanic/demo/)
76
81
 
77
82
  ---
78
83
 
@@ -284,8 +289,8 @@ Scanic is framework-agnostic but works great with modern UI libraries:
284
289
 
285
290
  | Framework | Link |
286
291
  | :--- | :--- |
287
- | **Vue 3** | [Vue.js Example & Guide](docs/vue-example.md) |
288
- | **React** | [React Example & Guide](docs/react-example.md) |
292
+ | **Vue 3** | [Vue & React Guide](https://marquaye.github.io/scanic/guide/frameworks) |
293
+ | **React** | [Vue & React Guide](https://marquaye.github.io/scanic/guide/frameworks) |
289
294
 
290
295
  ---
291
296
 
@@ -447,12 +452,7 @@ Contributions are welcome! Whether it's reporting a bug, suggesting a feature, o
447
452
 
448
453
  ## ๐Ÿ—บ๏ธ Roadmap
449
454
 
450
- - [x] TypeScript definitions
451
- - [x] High-performance perspective transformation (Triangle Subdivision)
452
- - [ ] Enhanced WASM module with additional Rust-optimized algorithms
453
- - [ ] WebGPU acceleration for supported browsers
454
- - [ ] Mobile-optimized real-time video processing frames
455
- - [ ] Additional image enhancement filters (Adaptive Thresholding, B&W)
455
+ See [**ROADMAP.md**](ROADMAP.md) for what's shipped and what's planned.
456
456
 
457
457
  ## License
458
458