NudeNet icon indicating copy to clipboard operation
NudeNet copied to clipboard

Couple newbie questions

Open madstacksofcash opened this issue 4 years ago • 2 comments

I generated the windows installer - what does that actually install?

Is there any additional documentation or examples anywhere?

My primary use-case would be: input image -> output image with selective censorship boxes. Are there any examples that implement this already? Or will I have to implement the boxes myself since the api just returns the coordinates?

Great project. Cheers.

madstacksofcash avatar Aug 15 '21 19:08 madstacksofcash

Censoring isn't shown as an example however I was able to censor images with such a code :

from nudenet import NudeDetector

detector = NudeDetector()

detector.censor('image.jpg', out_path="censured_image.jpg")

The .detect() method returns boxes coordinates with detected content

The .censor() method internally uses the returned values of the .detect() method to put boxes on, hence censoring the image

Depending of what you want to achieve you may want to use either or both

tflament avatar Aug 25 '21 17:08 tflament