Orisys SDK
使用叠动科技的视触觉相机或已有录像,在 Python 中读取触觉图像,观察接触区域、光流与深度。以下单指示例使用 SDK 0.8.1。
python -m pip install "orisys==0.8.1"
支持 Python 3.10 / 3.11 / 3.12,Windows x64 与 Ubuntu x64。
用一根手指读取接触状态
连接一台 Finger R02 相机,在任意目录运行 wheel 自带的示例。按 Ctrl+C 停止。也可用自己的录像回放,读完自动结束。
python -m orisys.examples.read_contact --camera 0
# 回放录像
python -m orisys.examples.read_contact --video index.mp4
一次录像回放得到以下两行。第 1 帧已处理,未检测到接触。第 85 帧检测到接触,最大接触区在处理后图像上覆盖 155 个像素。像素数随接触区域和图像分辨率变化。
frame=1 status=no_contact
frame=85 status=detected pixel_count=155
使用 GitHub 示例时,下载与 SDK 配套的 v0.8.1,从仓库根目录运行 python examples/read_contact.py --camera 0。示例源码 · 从同帧取得图像和坐标
安装选项
orisys— CPU / 基础流程orisys[gui]— Open3D 网格可视化(orisys.finger.UVMeshViewer)orisys[cuda12]/orisys[cuda13]— NVIDIA GPU 加速orisys[gui,cuda12]— GUI + CUDA 12
orisys[cuda] 与 orisys[cuda12] 等价。
配置
配置解析顺序:
- 显式 JSON 文件路径
- 内置配置名(
box、mini、finger等) - 产品别名(如
dd02->dd02-ov) - 向后兼容的 JSON
"name"匹配
import orisys
sensor = orisys.Sensor(0, config_name="box")
print(sensor.filters_state())
示例
SDK 0.8.1 将 mini_pipeline.py 并入 basic_pipeline.py。安装 wheel 后,在任意目录运行下列命令。默认使用 BOX,MINI 需显式选择 -c mini。
python -m orisys.examples.basic_pipeline
python -m orisys.examples.basic_pipeline -c mini
从配套 GitHub 仓库根目录运行:
python examples/basic_pipeline.py -v 0 -c box
python examples/basic_pipeline.py -v 0 -c mini
python examples/finger_pipeline.py --camera_id 0 --config finger
无相机时可以改用视频文件:
python examples/finger_pipeline.py --video ./sample.mp4 --config finger
支持与反馈
- 官网:https://www.orisys-tech.cn
- 快速开始 · API 参考 · 示例
- 问题反馈
Metadata
Release files for orisys 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 259.5 MB
Release files / orisys-0.8.1-cp312-cp312-win_amd64.whl
| Download URL | orisys-0.8.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 42.7 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5276a30ef1f112a6dba6a05594b15c5add64798a1b205d442929dbdcd18229ae
|
|
BLAKE2b-256 checksum How to use checksums |
9a81bf913b44e30eaf870d90d9504ce27eb5fd37e8ea5bacefd2a02be43d4fee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|
Release files / orisys-0.8.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | orisys-0.8.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 44.2 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
b12286d245bf9d998943789f1841e3837ad4135c7c09ac51793ba8e80fc4a880
|
|
BLAKE2b-256 checksum How to use checksums |
4318403ffe888c22219333ff4d3776e23f8c6b7ab7491e42de6a5edf54700b0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|
Release files / orisys-0.8.1-cp311-cp311-win_amd64.whl
| Download URL | orisys-0.8.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 42.7 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3307f829b4fea58b569467996efb388cde779e2774cb599378b2b327fc725bc0
|
|
BLAKE2b-256 checksum How to use checksums |
2a2d45e68f6b02155661f038901c78d42b0b57f4da97ab50cd780e87a0c0147b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|
Release files / orisys-0.8.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | orisys-0.8.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 43.6 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d9d1e1bdfe982985066170dd1931365a97dd39264a0313a9b43a6bfe141e490b
|
|
BLAKE2b-256 checksum How to use checksums |
052634818f84619766fa2dde2585dffcf51c5805280acf5d3ceaa84656986dda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|
Release files / orisys-0.8.1-cp310-cp310-win_amd64.whl
| Download URL | orisys-0.8.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 42.6 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cd0e30183024b1e090cd5e1f9c0b985c100cc005f86b900831ea9510d9604df9
|
|
BLAKE2b-256 checksum How to use checksums |
b9787884b07ae2e801804316940bb21ae0d228a7f39d916a30f70dff4e9dd6a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|
Release files / orisys-0.8.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | orisys-0.8.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 43.5 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
f9ea5aec26cc01fda5a56c367d19882a71bfab7920521949d03ca1a9721aaa85
|
|
BLAKE2b-256 checksum How to use checksums |
071f65e6d5529c65ea16dc7d37aca1a5f8a217b98b7520edc3d562e091af9168
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|
Security for orisys 0.8.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.