techyian / MMALSharp

C# wrapper to Broadcom's MMAL with an API to the Raspberry Pi camera.
MIT License
195 stars 33 forks source link

Custom overlay additions #58

Closed techyian closed 4 years ago

techyian commented 6 years ago

Look at ways in which to overlay additional UI elements to the preview renderer and also image frames.

Examples include fonts and lines to make basic shapes.

techyian commented 4 years ago

I am closing this issue as I don't feel as though it's something that needs to be built into the library. A good solution if you are looking to overlay Fonts or Shapes onto your images is ImageSharp. ImageSharp has additional sub-modules specifically for these use-cases, namely Shapes and Fonts. There's no point trying to re-invent the wheel here when great alternatives already exist. I also don't want to add a hard dependency onto ImageSharp either, but there are two points to hook into within MMALSharp which you could feed into ImageSharp, Callback Handlers and Capture Handlers.