Skip to content

enhanced-telerobotics/py_photoneo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Photoneo MotionCam Python Interface

A Python library for interfacing with Photoneo MotionCam 3D cameras using the Harvesters framework. This library provides a high-level interface for capturing color frames and point clouds from MotionCam devices.

Features

  • Simple API: Easy-to-use interface for camera operations
  • 3D Point Cloud Capture: Extract calibrated 3D point clouds
  • Color Frame Capture: Capture RGB color frames

Requirements

  • Python 3.8+
  • NumPy
  • Open3D
  • Matplotlib
  • Harvesters
  • GenICam

Installation

  1. Clone this repository:
git clone <repository-url>
cd py_photoneo
  1. Install required dependencies:
pip install numpy open3d matplotlib harvesters-core genicam
  1. Ensure you have the appropriate GenTL producer installed for your camera system.

Quick Start

Basic Usage

import numpy as np
import open3d as o3d
import matplotlib.pyplot as plt

from motion_cam import MotionCam

# Initialize camera with device serial number
cam = MotionCam("IDV-016")

# Connect to camera
cam.connect()

# Capture a frame with color information
frame = cam.get_frame(include_colors=True)

# Extract color frame and point cloud
color = cam.get_color_frame(frame)
pc = cam.get_point_cloud(frame)

# Disconnect when done
cam.disconnect()

About

A Photoneo python wrap class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages