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.
Files changed (2) hide show
  1. package/README.pypi.md +36 -35
  2. package/package.json +58 -58
package/README.pypi.md CHANGED
@@ -1,35 +1,36 @@
1
- # Termux-Vision (Python)
2
-
3
- [![PyPI](https://img.shields.io/pypi/v/termux-vision.svg?style=flat-square&color=0369a1)](https://pypi.org/project/termux-vision/)
4
- [![Python](https://img.shields.io/pypi/pyversions/termux-vision.svg?style=flat-square)](https://pypi.org/project/termux-vision/)
5
- [![License](https://img.shields.io/badge/License-Apache_2.0-004499.svg?style=flat-square)](https://github.com/uno-km/termux-vision)
6
-
7
- > **안드로이드 Termux를 위한 제로 디펜던시 온디바이스 컴퓨터 비전 & VLM 멀티모달 추론 엔진**
8
- > *Zero-Dependency On-Device Computer Vision & Multimodal VLM Inference Engine for Android Termux*
9
-
10
- ## Installation
11
-
12
- ```bash
13
- pip install termux-vision
14
- ```
15
-
16
- ## Quickstart
17
-
18
- ```python
19
- import termux_vision as tv
20
- img = tv.io.load_image("photo.jpg")
21
- edges = tv.cv.canny(tv.transforms.to_grayscale(img), 40, 120)
22
- with tv.vlm.load("qwen2-vl-2b-q4", quality="optimal") as engine:
23
- res = engine.describe("photo.jpg", prompt="Describe this scene in detail.", quality="optimal")
24
- print(f"Generated ({res.metrics.tokens_per_second:.1f} t/s): {res.text}")
25
- ```
26
-
27
- ## Description
28
- Eliminates heavy C++ dependencies by integrating SIMD NEON spatial image transforms with on-device VLM (Qwen2-VL, SmolVLM) multi-tier resolution presets (fast, optimal, high, original) and Vulkan GPU acceleration under strict memory isolation.
29
-
30
- ## Documentation
31
- - [Official Documentation & API Reference](https://uno-km.vercel.app/lib/vision/)
32
- - [GitHub Repository](https://github.com/uno-km/termux-vision)
33
-
34
- ## License
35
- Apache-2.0 License. Copyright (c) 2026 Eunho Kim (@uno-km).
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.0",
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
+ }