Skip to main content

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.

Metadata

Release files for freenect 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for freenect 0.1.0
File Size Uploaded Provenance
freenect-0.1.0.tar.gz 126.1 kB Without provenance Details

Release files / freenect-0.1.0.tar.gz

Download URL freenect-0.1.0.tar.gz
Size 126.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ca9e9b0a1cd05fc2f04431743ea5ae1caeea42039adae8c7d825407704113f4c
BLAKE2b-256 checksum
How to use checksums
d0a55a23ebdfcc7bc065b4967e3e61ebd518d3742b807a59cc7b6a499595bd00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for freenect 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page