MMALSharp icon indicating copy to clipboard operation
MMALSharp copied to clipboard

C# wrapper to Broadcom's MMAL with an API to the Raspberry Pi camera.

Results 36 MMALSharp issues
Sort by recently updated
recently updated
newest added

When starting the code example below, and attaching the visual studio debugger over ssh, the program quits after ~2 seconds (due to 'Task.Delay`) with this output ``` Waiting for debugger...

I want to use something like the code below (in a WinForm) the get the screen location of a picture box: ``` Point previewPos = PointToScreen(QrCodePreview.Location); Rectangle screenPosition = new...

Hi, I was realy frustrated about the bullseye 64 bit implementation, which I need to run a onnx recognition under c#. I tried running the new tools libcamera-still and after...

question

I have a .NET 5 app, referencing MMALSharp v0.6, building and running on Pi 4 (2Gb) Raspbian Lite, copypasted default motion detection example verbatim from https://github.com/techyian/MMALSharp/wiki/Advanced-Examples/93b717ebbf4502f3a6c1ef99137a6b416dd0c3e6#FrameDiffDetection , getting an exception:...

It appears that MMALSharp is currently not working with Bullseye. This OS update brought some major changes to the camera libraries so this is not wholly unexpected. We get: `System.TypeInitializationException:...

The library uses `List` buffers and I believe the `List` default constructor only allocates enough space for 10 entries. Given the size of MMAL buffers and camera frames, we should...

enhancement

The library is heavily array-dependent, and due to the nature of image handling, we're often allocating very large arrays on the large object heap. The [`ArrayPool`](https://docs.microsoft.com/en-us/dotnet/api/system.buffers.arraypool-1?view=netcore-3.1) API may help alleviate...

perf
investigation

I wanted to add dual camera support to MMALSharp, so I cloned the repo, and build it into my application (it was using version 0.6 from nuget before, to successfully...

Is it possible to use the sobel line detection in video mode and display in preview?

Hello, I'm running the following code on my Raspberry Pi: ``` public static async Task CaptureRawData() { MMALCamera cam = MMALCamera.Instance; MMALCameraConfig.StillEncoding = MMALEncoding.BGR24; MMALCameraConfig.StillSubFormat = MMALEncoding.BGR24; using (var imgCaptureHandler...