This release is a pre-release and may not be stable for production use.
pyRecFusionSDK
Easy multi-sensor mesh reconstruction with Python bindings to RecFusion SDK (C++).
Changes to original API
This project slightly modifies or adds new functionalites to the original RecFusion SDK API:
- RecFusionSDK version string:
version() -> str - Open all available sensors:
SensorManager.open_all() -> list[Sensor] - Open any available sensor:
SensorManager.open_any() -> Sensor | None - Obtain list of sensor color and depth formats:
Sensor.color_formats: list[SensorFormat]Sensor.depth_formats: list[SensorFormat]
- Initialize playback recorder using sensor options:
RFSRecorder.init_from_sensor(sensor: Sensor) -> None - Initialize empty
ColorImageandDepthImagefor a givenSensor(using its resolution etc.):ColorIamge.allocate_for_sensor(sensor: Sensor) -> ColorImageDepthIamge.allocate_for_sensor(sensor: Sensor) -> DepthImage
- Save images to *.png files:
ColorImage.to_image(filename: str, compression: int = 3) -> NoneDepthImage.to_image(filename: str, compression: int = 3) -> None
Usage
Requirements:
- Installed locally the RecFusion SDK
Then:
pip install pyRecFusionSDK
Publish new version to PyPi
- Remove
dist/andbuild/ - Run
uv build --sdist - Run
uv publish - Type the token!
Examples
We provide several examples of using RecFusionSDK with Python:
- capture_playback.py - capture sequence of images as playback file (*.rfs)
- capture_png.py - capture single frame to image (*.png)
- machine_token.py - display machine token required for offline license
- reconstruct_from_playback.py - reconstruct mesh from playback file (*.rfs)
- reconstruct_sensor.py - reconstruct mesh directly from sensor data
- reconstruct_sensor_listener.py - (NOT WORKING) reconstruct mesh directly from sensor data using sensor listener
- show_sensor_info.py - show information about sensor (e.g. model, UUID, resolutions)
Metadata
Release files for pyrecfusionsdk 0.1.2rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrecfusionsdk-0.1.2rc2.tar.gz | 25.4 kB | Without provenance | Details for pyrecfusionsdk-0.1.2rc2.tar.gz |
Release files / pyrecfusionsdk-0.1.2rc2.tar.gz
| Download URL | pyrecfusionsdk-0.1.2rc2.tar.gz |
|---|---|
| Size | 25.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ad79032765df284f39f763eddefbb7ea3fcb58d63c59fc33c77198f2ca027f5
|
|
BLAKE2b-256 checksum How to use checksums |
a7262eaba2dcf6fc264d2362c12f39c1ec1f6808bbb2531def272d499ca37461
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.12
|
Security for pyrecfusionsdk 0.1.2rc2
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.