@uziee/document-scanner 1.1.8 → 1.1.10
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 +8 -1
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# @uziee/document-scanner
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@uziee/document-scanner)
|
|
4
|
+
|
|
5
|
+
A high-performance, lightweight React component for real-time document detection, stability filtering, and perspective-corrected scanning.
|
|
6
|
+
|
|
7
|
+
## 🔗 [Live Demo](https://document-scanner.vercel.app)
|
|
8
|
+
|
|
9
|
+
> **Try it now:** [https://document-scanner.vercel.app](https://document-scanner.vercel.app)
|
|
4
10
|
|
|
5
11
|
## 🚀 Key Features
|
|
6
12
|
|
|
@@ -9,6 +15,7 @@ A high-performance, lightweight React component for real-time document detection
|
|
|
9
15
|
* **Bilinear Warp Transformation:** Automatically "flattens" skewed documents into a clean, rectangular A4-proportioned image.
|
|
10
16
|
* **Zero Dependencies:** Runs entirely on native Canvas API—no massive WASM files or external ML models.
|
|
11
17
|
* **High-Res Capture:** Analyzes a low-res stream for performance but captures the final document from the full-resolution camera feed.
|
|
18
|
+
* **Close Button:** Users can exit the scanner anytime without capturing.
|
|
12
19
|
|
|
13
20
|
---
|
|
14
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uziee/document-scanner",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "A lightweight, zero-dependency React document scanner with real-time edge detection, stability filtering, and perspective correction (bilinear warping) for high-resolution A4 captures.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
"scripts": {
|
|
31
31
|
"dev": "vite",
|
|
32
32
|
"build": "vite build",
|
|
33
|
+
"build:demo": "vite build --config vite.config.demo.js",
|
|
34
|
+
"vercel-build": "vite build --config vite.config.demo.js",
|
|
33
35
|
"preview": "vite preview"
|
|
34
36
|
},
|
|
35
37
|
"keywords": [
|
|
@@ -44,5 +46,9 @@
|
|
|
44
46
|
"repository": {
|
|
45
47
|
"type": "git",
|
|
46
48
|
"url": "https://github.com/uzair2244/document-scanner.git"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://document-scanner.vercel.app",
|
|
51
|
+
"bugs": {
|
|
52
|
+
"url": "https://github.com/uzair2244/document-scanner/issues"
|
|
47
53
|
}
|
|
48
54
|
}
|