xyberos-vision
Vision plugin — RFC-0019, M8. Describe images (vision model), extract text (OCR), and generate images — three tools, three contracts.
Install
pip install -e ./vision
pip install xyberos-vision[ocr] # optional: pytesseract + pillow for OCR
Usage
from xyberos import create_app
from xyberos_vision import VisionPlugin
app = create_app()
app.load_plugin(VisionPlugin()) # key from OPENAI_API_KEY
app.tools.execute("vision_describe", None, image_path="photo.png", prompt="What's in this photo?")
app.tools.execute("ocr_extract_text", None, image_path="scan.png")
app.tools.execute("image_generate", None, prompt="a sunset over the ocean", output_path="out.png")
Tools
| Tool | Backed by |
|---|---|
vision_describe(image_path, prompt=...) |
OpenAICompatibleVision (VISION_MODEL, default gpt-4o-mini) |
ocr_extract_text(image_path) |
TesseractOCR (lazy pytesseract + pillow) |
image_generate(prompt, output_path) |
OpenAIImageGenerator (dall-e-3) |
Tests
pip install pytest
pytest tests/
Vision/image-gen are tested via injectable transports; OCR tests skip when
pytesseract is absent.
Ship location
Plugin (xyberos.plugins entry point) — vision/multimodal (M8).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xyberos_vision-0.1.0.tar.gz.
File metadata
- Download URL: xyberos_vision-0.1.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
814264d9212093635d4bc0e33173dcfaa49300a6dfbca559a2cb047e0d59e8ee
|
|
| MD5 |
a092114b4df5631cd2ef7bbe53b3b1d3
|
|
| BLAKE2b-256 |
6721123640572ac26ab2425b565c6f0cc268e773ac8b42a6ca9ce471a3dc5a02
|
Provenance
The following attestation bundles were made for xyberos_vision-0.1.0.tar.gz:
Publisher:
pypi-plugins.yml on xyberos/xyberos-plugins
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xyberos_vision-0.1.0.tar.gz -
Subject digest:
814264d9212093635d4bc0e33173dcfaa49300a6dfbca559a2cb047e0d59e8ee - Sigstore transparency entry: 2495288088
- Sigstore integration time:
-
Permalink:
xyberos/xyberos-plugins@cd98ad6193005275396bb763df8de0468830de4a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/xyberos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-plugins.yml@cd98ad6193005275396bb763df8de0468830de4a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file xyberos_vision-0.1.0-py3-none-any.whl.
File metadata
- Download URL: xyberos_vision-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3104f076eaf867223df8be8ec86c5f3ee2974e67e5dcbecd100238d4989a7e60
|
|
| MD5 |
da78e6190a48ef51075203f6dd5a60ea
|
|
| BLAKE2b-256 |
37c3237f8bcf00e8ddcacdf6da9c44448798b4defa49a679de6e3cf751e32882
|
Provenance
The following attestation bundles were made for xyberos_vision-0.1.0-py3-none-any.whl:
Publisher:
pypi-plugins.yml on xyberos/xyberos-plugins
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xyberos_vision-0.1.0-py3-none-any.whl -
Subject digest:
3104f076eaf867223df8be8ec86c5f3ee2974e67e5dcbecd100238d4989a7e60 - Sigstore transparency entry: 2495288094
- Sigstore integration time:
-
Permalink:
xyberos/xyberos-plugins@cd98ad6193005275396bb763df8de0468830de4a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/xyberos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-plugins.yml@cd98ad6193005275396bb763df8de0468830de4a -
Trigger Event:
workflow_dispatch
-
Statement type: