Python wrapper for libfreenect - Microsoft Kinect library
Project description
libfreenect Python Wrapper
A modern Python 3-compatible wrapper for libfreenect, providing access to Microsoft Kinect v1 functionality.
⚠️ This project builds upon the original Python wrapper by Brandyn White(https://github.com/bwhite). I have ported and updated it for Python 3 compatibility and ongoing maintenance.
🚀 Installation
🔧 From Source
git clone https://github.com/dewminawijekoon/freenect-python.git
cd freenect-python
pip install .
🧪 For Development
git clone https://github.com/dewminawijekoon/freenect-python.git
cd freenect-python
pip install -e ".[dev]"
🔜 PyPI installation coming soon.
📦 Prerequisites
Make sure libfreenect is installed on your system before using this wrapper.
Follow the official instructions: 👉 https://github.com/OpenKinect/libfreenect
⚡ Quick Start
import freenect
import numpy as np
# Capture a depth image
depth, timestamp = freenect.sync_get_depth()
print(f"Depth shape: {depth.shape}")
# Capture an RGB image
rgb, timestamp = freenect.sync_get_video()
print(f"RGB shape: {rgb.shape}")
✨ Features
- Access Kinect depth and RGB video streams
- Synchronous & asynchronous capture modes
- Seamless integration with NumPy
- Cross-platform support (Linux, macOS, Windows)
📋 Requirements
- Python 3.8+
- NumPy
- libfreenect (installed system-wide)
📄 License
Licensed under the Apache License 2.0.
🤝 Contributing
Contributions are welcome! Feel free to open issues, fork the repo, or submit pull requests.
🐛 Issues
Encounter a problem? Open an issue and include a detailed description to help us assist you better.
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
File details
Details for the file freenect-0.1.0.tar.gz.
File metadata
- Download URL: freenect-0.1.0.tar.gz
- Upload date:
- Size: 126.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca9e9b0a1cd05fc2f04431743ea5ae1caeea42039adae8c7d825407704113f4c
|
|
| MD5 |
6e4bc980bcece7a26b8bc54cc49ae270
|
|
| BLAKE2b-256 |
d0a55a23ebdfcc7bc065b4967e3e61ebd518d3742b807a59cc7b6a499595bd00
|