Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

(Community) Feature requests #105

Open
techyian opened this issue Dec 30, 2019 · 3 comments
Open

(Community) Feature requests #105

techyian opened this issue Dec 30, 2019 · 3 comments

Comments

@techyian
Copy link
Owner

Hello MMALSharp users!

I'm raising this ticket to ask if there are any specific features you would like me to try and implement in the library for upcoming releases. Please don't be shy!

@MV10
Copy link
Collaborator

MV10 commented Jul 5, 2020

Configurable format strings for date/time overlays would be nice.
Hmm, I'm surprised the date/time isn't ever updated...?

@MV10
Copy link
Collaborator

MV10 commented Jul 8, 2020

How about the option to load a motion-detection mask? A simple black & white image would suffice, just logical-AND with the frames being compared and the black areas will always be identical. I think you keep the previous new frame for the next comparison right? So that would be just one logical-AND per comparison, I'd think that's minimal overhead.

Can you easily read a standard-format graphics file and convert it to whatever raw format is used for motion-detection, or would the user have to supply one in a suitable raw format? That could be a problem I suppose.

Some of my store bought IP cameras have another feature that works the same way -- privacy masks that are overlaid on video and snapshot output.

@MV10
Copy link
Collaborator

MV10 commented Aug 10, 2020

Configurable format strings for date/time overlays would be nice.
Hmm, I'm surprised the date/time isn't ever updated...?

Quoting myself... 😁

I did some poking around, and I see how the date/time overlay is generated. It turns out if I set up a little task which is mostly idle but calls cam.EnableAnnotation when the time changes, this is enough to generate an overlay with the updated time, and it doesn't appear to cause any problems. That call runs very quickly (0.4ms to 0.5ms on average) so it would be a nice-to-have, perhaps as part of ProcessAsync when ShowTimeText is enabled.

I'd be happy to PR the change. Would you also be open to config options to specify the date and time formats?

PR #167

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants