Skip to content

Conversation

@deniszhigalov
Copy link

Added a new mask shape "Rectangle border", as well as a new parameter rectangle_border_width with type number with default value 3. In fact, now you can use your shape for face detection.

@w-e-w
Copy link
Owner

w-e-w commented Apr 19, 2024

sorry forgot about this PR

so I'm assuming that what you're trying to achieve is to draw the detected regions and labels
like the nudenet demo https://nudenet.notai.tech
as opposed to apply censoring to just the border of a region correct?

if so I'd rather do a rework of the pipeline and just drow the regions

on the other hand if what you want is to apply censoring to just the border (I really can't think of reason why)
then I would implement it differently as opposed to adding a new shape, I'll probably just add something like checkbox that toggle the fill color, this way it will work for all shape

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants