Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

quepas/pyRecFusionSDK

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ColorImage and DepthImage for a given Sensor (using its resolution etc.):
    • ColorIamge.allocate_for_sensor(sensor: Sensor) -> ColorImage
    • DepthIamge.allocate_for_sensor(sensor: Sensor) -> DepthImage
  • Save images to *.png files:
    • ColorImage.to_image(filename: str, compression: int = 3) -> None
    • DepthImage.to_image(filename: str, compression: int = 3) -> None

Usage

Requirements:

Then:

pip install pyRecFusionSDK

Examples

We provide several examples of using RecFusionSDK with Python:

Morty Proxy This is a proxified and sanitized view of the page, visit original site.