termux-vision 1.1.0 → 1.1.1
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.pypi.md +36 -35
- package/package.json +58 -58
package/README.pypi.md
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
# termux-vision
|
|
2
|
+
|
|
3
|
+
> **On-Device Vision Language Model & Depthwise Separable Conv2D Engine for Android Termux**
|
|
4
|
+
> *Non-Root Native Execution · VLM Multimodal Pipeline · Mobile Resilient Architecture · Zero Heavy PyTorch Lock-in*
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## ⚡ 5-Minute Quickstart
|
|
9
|
+
|
|
10
|
+
### Python Installation
|
|
11
|
+
|
|
12
|
+
`ash
|
|
13
|
+
# In Android Termux:
|
|
14
|
+
pkg update && pkg install -y python python-numpy git
|
|
15
|
+
pip install termux-vision
|
|
16
|
+
`
|
|
17
|
+
|
|
18
|
+
### Python SDK Usage
|
|
19
|
+
|
|
20
|
+
`python
|
|
21
|
+
import numpy as np
|
|
22
|
+
from termux_vision.models import DepthwiseSeparableConv2D
|
|
23
|
+
|
|
24
|
+
layer = DepthwiseSeparableConv2D(in_channels=3, out_channels=16, kernel_size=3)
|
|
25
|
+
x = np.random.randn(1, 3, 224, 224).astype(np.float32)
|
|
26
|
+
out = layer.forward(x)
|
|
27
|
+
print("Output Shape:", out.shape)
|
|
28
|
+
`
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 📚 Official Documentation
|
|
33
|
+
|
|
34
|
+
- **Official Web Documentation**: [https://uno-km.vercel.app/lib/vision/](https://uno-km.vercel.app/lib/vision/)
|
|
35
|
+
- **GitHub Repository**: [https://github.com/uno-km/termux-vision](https://github.com/uno-km/termux-vision)
|
|
36
|
+
- **License**: MIT
|
package/package.json
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "termux-vision",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Native On-Device Computer Vision & VLM Multimodal Inference Framework for Android Termux & ARM64 (Dual-Engine Python & Node.js/TypeScript)",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"types": "index.d.ts",
|
|
7
|
-
"bin": {
|
|
8
|
-
"termux-vision": "bin/cli.js",
|
|
9
|
-
"tv": "bin/cli.js"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"index.js",
|
|
13
|
-
"index.d.ts",
|
|
14
|
-
"bin",
|
|
15
|
-
"lib",
|
|
16
|
-
"README.md",
|
|
17
|
-
"LICENSE",
|
|
18
|
-
"NOTICE"
|
|
19
|
-
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"test": "node tests/node_smoke.test.js"
|
|
22
|
-
},
|
|
23
|
-
"keywords": [
|
|
24
|
-
"termux",
|
|
25
|
-
"vision",
|
|
26
|
-
"vlm",
|
|
27
|
-
"multimodal",
|
|
28
|
-
"computer-vision",
|
|
29
|
-
"smolvlm",
|
|
30
|
-
"qwen2-vl",
|
|
31
|
-
"edge-ai",
|
|
32
|
-
"on-device-ai",
|
|
33
|
-
"vulkan",
|
|
34
|
-
"arm64",
|
|
35
|
-
"android",
|
|
36
|
-
"llama-cli",
|
|
37
|
-
"gguf",
|
|
38
|
-
"canny",
|
|
39
|
-
"haar-cascade",
|
|
40
|
-
"open-source"
|
|
41
|
-
],
|
|
42
|
-
"author": "uno-km (AMEVA Foundation) <dev@amevafoundation.org>",
|
|
43
|
-
"license": "Apache-2.0",
|
|
44
|
-
"homepage": "https://uno-km.vercel.app/lib/vision/",
|
|
45
|
-
"repository": {
|
|
46
|
-
"type": "git",
|
|
47
|
-
"url": "git+https://github.com/uno-km/termux-vision.git"
|
|
48
|
-
},
|
|
49
|
-
"bugs": {
|
|
50
|
-
"url": "https://github.com/uno-km/termux-vision/issues"
|
|
51
|
-
},
|
|
52
|
-
"dependencies": {
|
|
53
|
-
"ameva-vulkan-runtime": ">=1.0.0"
|
|
54
|
-
},
|
|
55
|
-
"engines": {
|
|
56
|
-
"node": ">=16.0.0"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "termux-vision",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "Native On-Device Computer Vision & VLM Multimodal Inference Framework for Android Termux & ARM64 (Dual-Engine Python & Node.js/TypeScript)",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"termux-vision": "bin/cli.js",
|
|
9
|
+
"tv": "bin/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"index.js",
|
|
13
|
+
"index.d.ts",
|
|
14
|
+
"bin",
|
|
15
|
+
"lib",
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE",
|
|
18
|
+
"NOTICE"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"test": "node tests/node_smoke.test.js"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"termux",
|
|
25
|
+
"vision",
|
|
26
|
+
"vlm",
|
|
27
|
+
"multimodal",
|
|
28
|
+
"computer-vision",
|
|
29
|
+
"smolvlm",
|
|
30
|
+
"qwen2-vl",
|
|
31
|
+
"edge-ai",
|
|
32
|
+
"on-device-ai",
|
|
33
|
+
"vulkan",
|
|
34
|
+
"arm64",
|
|
35
|
+
"android",
|
|
36
|
+
"llama-cli",
|
|
37
|
+
"gguf",
|
|
38
|
+
"canny",
|
|
39
|
+
"haar-cascade",
|
|
40
|
+
"open-source"
|
|
41
|
+
],
|
|
42
|
+
"author": "uno-km (AMEVA Foundation) <dev@amevafoundation.org>",
|
|
43
|
+
"license": "Apache-2.0",
|
|
44
|
+
"homepage": "https://uno-km.vercel.app/lib/vision/",
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "git+https://github.com/uno-km/termux-vision.git"
|
|
48
|
+
},
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/uno-km/termux-vision/issues"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"ameva-vulkan-runtime": ">=1.0.0"
|
|
54
|
+
},
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=16.0.0"
|
|
57
|
+
}
|
|
58
|
+
}
|