A toolkit for 3D vision
Project description
Kiuikit
pip install kiui
•
Documentation
A niche toolkit for computer vision (especially 3D vision) tasks.
Install
# released
pip install kiui # install the minimal package
pip install kiui[full] # install optional dependencies
# latest
pip install git+https://github.com/ashawkey/kiuikit.git # only the minimal package
Basic Usage
The package comes with many helpful CLI tools:
# print detailed information of a video or image
kivi --help
kivi info <video_path>
# print system information
kiss --help
kiss os # print os, cpu, gpu, etc.
kiss torch # print torch version, cuda availability, etc.
# llm agent utils
kia --help
kia list # list available models (APIs should be defined in ~/.kiui.yaml)
kia chat --model <name> # start interactive chat mode
kia exec --model <name> "What does kiui mean?" # execute a single query
# open a GUI to render a mesh (extra dep: nvdiffrast)
kire --help
kire mesh.obj
kire mesh.glb --pbr # render with PBR (metallic + roughness)
kire mesh.obj --save_video out.mp4 --wogui # save 360 degree rotating video
It can also be used as a Python library:
import kiui
# quick inspection of array-like object
x = torch.tensor(...)
y = np.array(...)
kiui.lo(x)
kiui.lo(x, y) # support multiple objects
kiui.lo(kiui) # or any other object (just print with name)
# visualization tools
img_tensor = torch.rand(3, 256, 256)
# support tensor of [3, H, W], [1, H, W], [H, W] / np.ndarray of [H, W ,3], [H, W, 1], [H, W] in [0, 1]
kiui.vis.plot_image(img)
kiui.vis.plot_image(img_tensor)
# mesh utils
from kiui.mesh import Mesh
mesh = Mesh.load('model.obj')
kiui.lo(mesh.v, mesh.f) # CUDA torch.Tensor
mesh.write('new.glb') # support exporting to GLB/GLTF too (texture embedded).
Project details
Release history Release notifications | RSS feed
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 kiui-0.3.3.tar.gz.
File metadata
- Download URL: kiui-0.3.3.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
add1426ba9590666e29a9326a892ae5689d52be95cc8774342f3099ddb49d7d4
|
|
| MD5 |
d6563b641a954f617fa50088ac20050e
|
|
| BLAKE2b-256 |
19a14aa3a6579e10e78c5929bb97e8af5f64715228f11700ca0942c47404813b
|
Provenance
The following attestation bundles were made for kiui-0.3.3.tar.gz:
Publisher:
pypi-publish.yml on ashawkey/kiuikit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kiui-0.3.3.tar.gz -
Subject digest:
add1426ba9590666e29a9326a892ae5689d52be95cc8774342f3099ddb49d7d4 - Sigstore transparency entry: 907445941
- Sigstore integration time:
-
Permalink:
ashawkey/kiuikit@980685c26fd9ece72c62990e049becae71693e52 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/ashawkey
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@980685c26fd9ece72c62990e049becae71693e52 -
Trigger Event:
release
-
Statement type:
File details
Details for the file kiui-0.3.3-py3-none-any.whl.
File metadata
- Download URL: kiui-0.3.3-py3-none-any.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5364f96539aad4444d777165eeb84c695d2a2b88184dd8dfe134dc51b77c79fd
|
|
| MD5 |
c3c4b4d6422726739abfcc87675241f9
|
|
| BLAKE2b-256 |
272777c0cf8f5bea1f99d32e7799c3ba0de859190487e0f665484711740b5e61
|
Provenance
The following attestation bundles were made for kiui-0.3.3-py3-none-any.whl:
Publisher:
pypi-publish.yml on ashawkey/kiuikit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kiui-0.3.3-py3-none-any.whl -
Subject digest:
5364f96539aad4444d777165eeb84c695d2a2b88184dd8dfe134dc51b77c79fd - Sigstore transparency entry: 907445945
- Sigstore integration time:
-
Permalink:
ashawkey/kiuikit@980685c26fd9ece72c62990e049becae71693e52 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/ashawkey
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@980685c26fd9ece72c62990e049becae71693e52 -
Trigger Event:
release
-
Statement type: