scanic 1.2.0 β 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 +13 -13
- package/dist/scanic.js +1 -2860
- package/dist/scanic.umd.cjs +1 -1
- package/package.json +20 -5
- package/src/scanic.d.ts +30 -0
package/README.md
CHANGED
|
@@ -7,11 +7,13 @@
|
|
|
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/
|
|
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
|
|
|
@@ -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
|
|
49
|
+
## π What's New
|
|
47
50
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
|
|
@@ -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
|
-
|
|
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
|
|