Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: added rectangle border #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants