LibCamera.Net 1.0.9

dotnet add package LibCamera.Net --version 1.0.9
                    
NuGet\Install-Package LibCamera.Net -Version 1.0.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LibCamera.Net" Version="1.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LibCamera.Net" Version="1.0.9" />
                    
Directory.Packages.props
<PackageReference Include="LibCamera.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LibCamera.Net --version 1.0.9
                    
#r "nuget: LibCamera.Net, 1.0.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=LibCamera.Net&version=1.0.9
                    
Install LibCamera.Net as a Cake Addin
#tool nuget:?package=LibCamera.Net&version=1.0.9
                    
Install LibCamera.Net as a Cake Tool

LibCamera Frame Capture

A cross-platform library for capturing camera frames using libcamera on Linux-based systems (particularly for Raspberry Pi), with C++ and C# bindings.

Overview

This project provides a simple and efficient way to capture frames from cameras connected to Linux systems using the libcamera framework. It includes:

  • A C++ library wrapping the libcamera API with OpenCV integration
  • C API for interoperability with other languages
  • C# (.NET) bindings for easy use in .NET applications

Requirements

  • Linux-based system (tested on Raspberry Pi)
  • libcamera (https://libcamera.org/)
  • OpenCV
  • CMake 3.10+
  • For C# bindings: .NET 9.0+

Building the C++ Library

# Create build directory
mkdir -p build
cd build

# Build the library
cmake ..
make

# Install (optional)
sudo make install

Project Structure

  • /libcamera - C++ implementation and headers
  • /csharp - .NET bindings and example applications
  • /lib_binaries - Compiled library files
  • /saved_images - Example output directory for captured frames

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.9 172 4/20/2025
1.0.7 155 4/20/2025
1.0.6 161 4/20/2025
1.0.4 165 4/18/2025
1.0.3 161 4/18/2025
1.0.2 172 4/18/2025
1.0.1 171 4/18/2025