RPi_Cam_Web_Interface icon indicating copy to clipboard operation
RPi_Cam_Web_Interface copied to clipboard

Privacy mask

Open icooper9000 opened this issue 5 years ago • 2 comments

Is it possible to add privacy mask (as configurable in Motion) to the GUI. Black out function would be sufficient, although an option to blur the region would be useful too.

icooper9000 avatar Feb 11 '20 20:02 icooper9000

It would be quite tricky to apply this into the main camera pipeline as this is all done in the GPU. It might be possible to apply to the medium resolution preview data but doing it for the high resolution feed would be very CPU intensive.

A different approach that would be fairly straightforward would be to do it with mask-image styling in the html.

But you also have to consider what you want the masking applied to. If the GUI is locked to preview only then that is all you have to worry about, but if it allows looking at captures and recordings then it gets trickier if you want those masked as well.

roberttidey avatar Feb 12 '20 09:02 roberttidey

Thanks for the reply. Ideally it would mask recordings and live feed.

The annotation banner (with time, date, etc) is in live feed and in recordings. How is the annotation banner added ? (I’m not an expert here) Could a privacy mask be something crude and simple as that, but with a definable shape?

From: roberttidey [email protected] Sent: 12 February 2020 09:32 To: silvanmelchior/RPi_Cam_Web_Interface [email protected] Cc: coops9000 [email protected]; Author [email protected] Subject: Re: [silvanmelchior/RPi_Cam_Web_Interface] Privacy mask (#546)

It would be quite tricky to apply this into the main camera pipeline as this is all done in the GPU. It might be possible to apply to the medium resolution preview data but doing it for the high resolution feed would be very CPU intensive.

A different approach that would be fairly straightforward would be to do it with mask-image styling in the html.

But you also have to consider what you want the masking applied to. If the GUI is locked to preview only then that is all you have to worry about, but if it allows looking at captures and recordings then it gets trickier if you want those masked as well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/silvanmelchior/RPi_Cam_Web_Interface/issues/546?email_source=notifications&email_token=AGAPBUDRFE6ASGN74CV23C3RCO6YRA5CNFSM4KTH24SKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQCG2A#issuecomment-585114472 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAPBUBJOBYOETFUG5CF6RDRCO6YRANCNFSM4KTH24SA .

icooper9000 avatar Feb 13 '20 08:02 icooper9000