tfaehse / DashcamCleaner

Censor identifiable information in videos, in particular dashcam recordings in Germany.
GNU Affero General Public License v3.0
130 stars 27 forks source link

fixed image returned even if (empty) mask expected #53

Closed alexx-km closed 1 year ago

alexx-km commented 1 year ago

If there are no detections in an image, the input frame is returned. My understanding is that this is an unwanted behaviour if the parameters 'export_mask' or 'export_colored_mask' are set. In this case the return of a mask (in this case empty --> black image) is expected.