r/MachineLearning • • Apr 23 '15

Android App: Nipple Detection using Convolutional Neural Network. Results. [NSFW] NSFW

http://imgur.com/a/6KUEu
691 Upvotes

180 comments sorted by

View all comments

5

u/[deleted] Apr 23 '15

what feature detection technique was used?

6

u/deepPurpleHaze Apr 23 '15

See my other comment about what i tried with SVMs and a python version of selective search (which i cant find the link to right now).

Ended up using a sliding overlapping window of a few scales, with a filter for HSV ranges that represent skin values and throwing out the window if it doesn't have enough skin. That can be turned off (the deep search) option in the settings of the app.

I'd love suggestions of course. Better windows would help a lot.

2

u/shaggorama Apr 24 '15

Instead of taking a simple color histogram, maybe take the DFT? I'm not convinced this is a good approach though, considering people's skin can take on lots of different colors, not just biologically but also subject to the lighting/processing of the image. Are you whitening the image before performing the search for candidate tiles (I imagine you're at least whitening it before feeding it to your CNN)? Might help.

2

u/deepPurpleHaze Apr 27 '15

The only pre-processing I do to test images is subtracting by the mean for each channel from the training set. That really helps a lot and is almost identical to the per pixel means.

I should try whitening. I'm testing a YCrCb model from the literature, but sadly it doesn't do noticeably better than the HSV one I'm currently using.

Testing the whole thing vs viola-jones with haar features currently.