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

160

u/deepPurpleHaze Apr 23 '15 edited Apr 24 '15

https://play.google.com/store/apps/details?id=com.boxcar2d.nippler

I created this app with a model I trained on a CNN with varying layers of pooling and convolution. The confidence can be adjusted. The colors represent the prediction confidence: 99% magenta, 95%red, 90% orange, 80% yellow, 70% blue, 60% gray, 50% cyan.

Gonna add some references:

Caffe

ImageNet Classification with Deep Convolutional Neural Networks, Krizhevsky 2012

Deep neural networks are easily fooled, Nguyen 2014

Selective Search for object Recognition, Uijlings 2013

Combining efficient object localization and image classification, Harzallah 2009

and of course http://deeplearning.net/reading-list/

119

u/poi88 Apr 23 '15

not available in my country? Here in Colombia we have several nipples that would like to be identified...

51

u/deepPurpleHaze Apr 23 '15

i only made it available in a few countries at first but i already changed that to all countries. It's translated (probably poorly) into Spanish, German, and Japanese. The change takes a few hours to take effect. sorry :(

78

u/UTF64 Apr 24 '15

Pretty much all countries are fine with English if the alternative is not releasing it.

20

u/deepPurpleHaze Apr 24 '15

lesson learned. :)

11

u/apoplexis Apr 24 '15

I am volunteering for translating the texts to German if you send me the originals in English. The description is a mess right now :)

7

u/deepPurpleHaze Apr 24 '15

Wow thanks. I don't know if you mean on the store or in the app. Both are probably a mess. Here's both. Thanks for any help :)

In app intro:

Nippler uses machine learning to find nipples in images, with a convolutional neural network trained on pixels.

Short description: Nipple recognition with deep learning on any photo.

Long description: Using the latest advances in machine learning, Nippler finds nipples in any image you choose or take.

Nippler uses a deep convolutional neural network trained on the raw pixels to predict areas in the image it thinks are most likely a nipple, and draw a box around them. Use the slider to adjust the confidence level and show more boxes. Watch it succeed and fail hilariously

100% free. No ads. This app has no permission to use the internet and doesn't collect any information. All images are processed on the phone and only available to you.

*Needs permission for the camera to take pictures *Needs permission for external storage to save the results

10

u/apoplexis Apr 24 '15 edited Apr 24 '15

I'm a native German speaker, so changing it to any other language than German or English would not help much :)

Here are the translations, actually wasn't easy to use the uncommon special words, had to understand CNNs and deep learning at first.

Please note, that there is only a literal translation for deep learning, which isn't used anywhere. Every German source I've found states 'Deep Learning' as a technical term. This also is partially the case for CNN, but both German and English terms are used.

In app intro: Nippler verwendet maschinelles Lernen, um Nippel in Bildern mit einem auf Pixel trainierten gefaltenen neuralen Netzwerk zu finden.

Short description: Nippelerkennung mit Deep Learning für jegliche Fotos.

Long description: Unter Verwendung der neuesten Fortschritte im maschinellen Lernen findet Nippler in jedem Bild, das sie auswählen oder aufnehmen Nippel.

Nippler verwendet ein tiefengefaltenes neurales Netzwerk, das darauf trainiert ist, in einem Bild Nippel zu erkennen und zieht einen Rahmen herum.

Verwenden Sie den Schieberegler, um den Zuverlässigkeitsgrad anzupassen und mehrere Rahmen zu ziehen. Beobachten Sie, wie es dabei Erfolg hat oder wahnsinnig komisch daran scheitert.

100% gratis und werbefrei. Diese App hat keine Berechtigung, das Internet zu benutzen und keinerlei Informationen zu sammeln. Alle Bilder werden am Telefon verarbeitet und bleiben stets ausschließlich für Sie verfügbar.

Benötigte Berechtigungen:

  • Verwendung der Kamera, um Fotos aufzunehmen.

  • Verwendung des externen Speichers, um die Ergebnisse zu speichern.

8

u/apoplexis Apr 24 '15 edited Apr 24 '15

I've just installed the App to check for in-app texts which may be wrong.

The initial prompting screen states:

  • Mach ein Foto and

  • Wählen sie Bild

These need to be changed to e.g.

  • Machen Sie ein Foto and

  • Wählen Sie ein Bild

When taking a picture, a progressbar appears and a caption states

  • Selbstzerstörung eingreift (= initiating self destruction)

This needs to be changed to

  • Selbstzerstörung wird eingeleitet if you want to keep the joke up.

I've picked some images and have seen that there are several other funny phrases like that. Would you mind, posting them? Such phrases suffer a lot from machine translations :)

Now to the settings:

  • Filter ähnlich Ergebnisse and its subtext

  • Entfernen einer niedrigeren Punktzahl Fenster

needs to be changed to

  • Ähnliche Ergebnisse filtern and

  • Entfernt niedriger bewertete Bereiche

Tiefensuche can stay as it is, but the subtext is rubbish.

Weitere Regionen (dauert länger) translates into 'Further regions (takes longer)' and should be Genauer suchen (dauert länger), which definitely suits the English caption more.

3

u/deepPurpleHaze Apr 24 '15

Here's the phrases. thanks again:

  1. Reticulating splines…

  2. Deepening the network…

  3. Becoming sentient…

  4. Self-destruct engaging…

  5. Starting warp drive…

  6. Enhancing image…

  7. Convoluting pixels…

  8. Detecting…

3

u/apoplexis Apr 25 '15 edited Apr 25 '15

You're welcome! As already mentioned, those literal phrases are not easy to translate with their main message in mind.

There you go:

  1. Verforme Splines

  2. Vertiefen des Netzwerks

  3. Werde gefühlvoll

  4. Aktiviere Selbstzerstörung

  5. Starte Warp-Antrieb

  6. Verbessern des Bilds

  7. Rolle Bild zusammen

  8. Wird ausgelesen

//edit:

What's new, translated in German, skipped the 'best on Top':

Bilder können ab sofort mit ausgefüllten Rechtecken zensiert werden.

1

u/BoSiRo Apr 25 '15

I would use this instead:

for 3. Erlange Bewusstsein ...

for 4. Selbstzerstörung eingeleitet ...

for 8. Aufspüren ...

2

u/deepPurpleHaze Apr 24 '15

You can also see the app text in any language (English,German,Spanish,Japanese) by changing your language settings on the phone. I bet they're all a mess except hopefully English.

4

u/WickeD_Thrasher Apr 24 '15

I am a native spanish speaker programmer. I can help you translate the text both in app and in the store, if you like.

3

u/deepPurpleHaze Apr 24 '15

i'd love that!! thank you

2

u/WickeD_Thrasher Apr 25 '15

Ok then! PM me :)

4

u/GraharG Apr 25 '15

Its times like this i get a warm fuzzy feeling about reddit

10

u/[deleted] Apr 24 '15

High five for colombia*

5

u/Saarlak Apr 24 '15

I, too, am in Colombia. Can confirm that the local breed of nipples are worthy of identification.

2

u/Just-my-2c Apr 25 '15

I'm close enough to get them on my tinder: can confirm...

17

u/[deleted] Apr 24 '15

Is there any way we could replace the boxes with different colored tassles?

3

u/deepPurpleHaze Apr 24 '15

just made an update to fill the boxes if you turn that on in the prefs.

5

u/deepPurpleHaze Apr 23 '15

Try it and post the results! i'd love to see them. Or let me know if you find a bug.

7

u/FeepingCreature Apr 24 '15

What happens when you take a video and blur each region per frame proportionally to how confident it is?

7

u/deepPurpleHaze Apr 24 '15

i actually tried that on single images and have a python script to do it. it works sometimes as well as the predictions do. It would sum the 'votes' from each window and make a mask of those normalized values.

In terms of video its a stretch to run that at 60fps even on a gpu. Maybe if you had a great window selection algorithm.

5

u/FeepingCreature Apr 24 '15

In terms of video its a stretch to run that at 60fps even on a gpu. Maybe if you had a great window selection algorithm.

I meant, I just really want to see how that'd look with porn, especially because of the occasional misdetection of belly buttons.

3

u/ReeceMan- Apr 24 '15

Belly buttons, mouths, arm pits, necklaces...

2

u/deathchimp Apr 25 '15

Could you just check the regions where nipples have been previously detected and only recheck the whole frame if a major change occurs?

3

u/pfd1986 Apr 24 '15

Open source?

2

u/deepPurpleHaze Apr 24 '15

Not right now but that's ultimate goal. A lot of the framework is available publicly already (see my comments below).

4

u/Jscotto320 Apr 24 '15

I don't know who you are, and I thought this was just a farce from HBO's Silicon Valley.

I thought "Ha! What a concept! Hilarious."

I did not think this would be done.

I do not know you, but thank you.

1

u/V_varius Jun 16 '15

Late to the party, but it might be more...intuitive if the color scaled in saturation according to confidence. That way I don't have to remember all those colors.

0

u/[deleted] Apr 23 '15

[deleted]

102

u/deepPurpleHaze Apr 23 '15

It's a good testbed of machine learning techniques and it has possible uses for auto-flagging images and perhaps even searching for them. I could easily drop in another class of objects like cats or cars. ImageNet doesn't have a nipple category either.

63

u/rhiever Apr 23 '15

I could see this being useful for detecting and flagging NSFW images in places where people don't want NSFW images.

6

u/deepPurpleHaze Apr 24 '15

I just updated the app to have a mode where it censors the image based on the predictions (if you turn that on - off by default):

http://i.imgur.com/sZjgXA8.jpg

129

u/alexmlamb Apr 24 '15

Better idea: build a chrome extension that drops all non-nipple search results.

35

u/rhiever Apr 24 '15

Or replaces all non-nipple images with nipple images. Kind of like that Chrome extension that replaces pictures of babies with pictures of cats.

1

u/thefattestman22 Apr 24 '15

What if it's a man?

7

u/deepPurpleHaze Apr 24 '15

could couple with face identification to decide if it's a man. Or maybe build a database of men's nipples and see if you can distinguish the two classes

4

u/OlorinTheGray Apr 25 '15

I never before thought that the world could ever be in dire need of a men´s nipples database.

Thank you, I guess :)

20

u/erktheerk Apr 23 '15

I could see this being used to scan and ID nip slips or other nudity that a website wants to keep off its site. Could scan large databases of images to sort out the NSFW ones (thinking large wallpaper dumps). Maybe even a nudity filter for parental control applications and instead of drawing the box it just blacked out the image.

Could it be modified to look for dicks too?

Nevermind reread the post. You covered that.

18

u/deepPurpleHaze Apr 23 '15 edited Apr 23 '15

yeah it would be as easy as setting the rectangle to fill. It would be very fast on a gpu also rather than a phone. It could easily have any model used including dicks, unicycles, boats, etc.

EDIT: if you want to create such a database ill gladly add it. :)

23

u/[deleted] Apr 24 '15

I already have a pretty big database of dicks.

63

u/deepPurpleHaze Apr 24 '15

If you're serious that you have cropped images of just dicks then please send me an archive. ill make a model and Dickler will be born :)

Since dicks are more of a deformable object they might benefit from a bag of words strategy for detection.

64

u/aldld Apr 24 '15

bag of words strategy for detection.

Bag of dicks strategy.

16

u/TotesMessenger Apr 24 '15

This thread has been linked to from another place on reddit.

If you follow any of the above links, respect the rules of reddit and don't vote. (Info / ^Contact)

6

u/simoneb_ Apr 24 '15

That's interesting. How big of a training set did you use?

3

u/deepPurpleHaze Apr 24 '15

Has over 2000 nipples and a much larger set of non-nipples. I'm already working on a model with a larger dataset.

2

u/SonicPhoenix Apr 24 '15

How large is her "dataset?"

6

u/physixer Apr 24 '15

Because: Science!

keep it up /u/deepPurpleHaze !

77

u/bakedpatata Apr 24 '15

You realize the next step is to reverse the algorithm to guess what peoples nipples look like.

42

u/deepPurpleHaze Apr 24 '15

ha thats silly. reminds me of this paper by Hinton. "To recognize shapes, first learn to generate images."

http://www.cs.toronto.edu/~hinton/absps/montrealTR.pdf

10

u/[deleted] Apr 24 '15

If you wish to make an apple pie from scratch, you must first invent the universe.

0

u/[deleted] Apr 24 '15

[deleted]

7

u/deepPurpleHaze Apr 24 '15

This is a great idea. I'm definitely doing it! Let me know if you get any results.

1

u/holomanga Apr 26 '15

RemindMe! 1 month

2

u/ptntprty Jun 18 '15

Reminder to you and /u/amazingmuffin and /u/deeppurplehaze

Anything to report?

8

u/deepPurpleHaze Aug 13 '15

Anything

Using the google deepdream code i dropped in the nippler model. The results aren't that cool because of only 2 classes: nippple and non-nipple. Here's a picture of my cat deepdreamed with the Nippler model:

http://i.imgur.com/286FmMb.jpg

2

u/radinamvua Jun 14 '15

Hi, did you try it in the end?

34

u/shaggorama Apr 23 '15

I bet constructing the training set was fun ;)

Since you've deployed this as an app, you should consider compressing/distilling your model with Hinton's dark knowledge technique (or whatever we're supposed to call it). It should give you roughly equivalent performance while occupying significantly less disk space and probably producing results faster as well.

18

u/deepPurpleHaze Apr 23 '15 edited Apr 23 '15

Sounds fun but honestly it was quite tedious. Thanks for that I really would like to speed up the prediction. My main work lately has been on window proposal strategies to reduce the number of predictions.

I tried simple color histograms with SVMs but the linear ones didn't work and the non-linear ones took too log. Didn't try HOGs but i think they're too expensive. Couldn't find a good implementation of Selective search without matlab (tried a simplified python one but it suggested more windows than my sliding search).

5

u/DrEdPrivateRubbers Apr 24 '15

Would it be easier, more accurate to create an algorithm to look for the proportional relationship of the chest landmarks and facial landmarks. Maybe it would be easier to find faces then look for the nipples attached to the subject? I'm totally out of my depth so just ignore me if I'm talking out my ass.

4

u/deepPurpleHaze Apr 24 '15

That's a good idea. I agree there's room for improvement using more domain knowledge but it was a proof of concept that it can do well without specific human tuned features.

I think more context would help meaning i crop larger windows around the nipple so it can see the difference between a belly button and a nipple for example. That would probably make it miss more nipples and certainly would require a larger training set though too.

4

u/ogrisel Apr 24 '15

If you think non-linear (RBF) SVM would work but is too slow to train you might want to try the Nystroem method:

from sklearn.preprocessing import StandardScaler
from sklearn.linear_model import LogisticRegressionCV
from sklearn.kernel_approximation import Nystroem
from sklearn.pipelione import make_pipeline

model = make_pipeline(
    StandardScaler(),
    Nystroem(n_components=300, gamma=1e-3),
    LogisticRegressionCV(),
).fit(X_train, y_train)

StandardScaler might not be required if your features are already homogeneous. Try to find the best value for gamma on a small subset of the data.

2

u/deepPurpleHaze Apr 24 '15 edited Apr 24 '15

Thanks I'll try this. For now the skin filter is working well but that uses domain specific knowledge.

But the non-linear SVM showed a lot of promise getting about 80%

17

u/SarcasticMetaName Apr 23 '15

What library do you use to implement the CNN on the phone?

12

u/mkoxbg Apr 23 '15

can you make it so it identifies male vs female?

33

u/deepPurpleHaze Apr 23 '15 edited Apr 23 '15

the training set was all female nipples and it does fairly well on male nipples too. I'd say it would be very difficult.

Also belly buttons look a lot like nipples if you block everything else out it looks like it sticks out rather than in. its a strange optical illusion i never saw before.

50

u/thirdegree Apr 24 '15

the training set was all female nipples

Rofl op.

27

u/deepPurpleHaze Apr 24 '15

I included lots of races, ages, and styles. The focus wasn't as much for my personal preference as thats what people want to filter or tag. Not men's nipples. In trying to flag nudity those would be false positives strangely.

6

u/[deleted] Apr 24 '15

Which is where the real challenge is going to be. A dude on the beach tossing a stick to his dog. Nipples are fine.

A chick's flapjacks flipping while getting drilled from behind. Totally NSFW.

5

u/deepPurpleHaze Apr 24 '15

well you could combine this with other image recognition techniques, like facial recognition to decide if it's a man or a woman (and eliminate false positives if its not a person at all).

4

u/[deleted] Apr 24 '15

like facial recognition to decide if it's a man or a woman

I don't think we'll ever get that to work. I often can't tell IRL!

Detecting signs of breast like shape around the nipples would probably be beneficial though, and of course any genital detection would automatically rule an image nsfw. I would think genital detection would be much harder than nipples though... given the variety. Perhaps leg detection would be a lot easier coupled with the ability to detect that continuous skin exists between leg and torso.

2

u/deepPurpleHaze Apr 24 '15

Well if you have a large database of faces tied to identites (like Google or Facebook) you could just identify who it is first.

I think genital detection would be a lot harder and really gets into what is obscene because a lot of it depends on the larger context as you point out.

30

u/thirdegree Apr 24 '15

Sure, sure. Whatever you say.

4

u/shaggorama Apr 24 '15

I look forward to OP's next project on moneyshot detection.

4

u/stilllton Apr 24 '15

Maybe you can make a rule that excludes that (belly button) area if two horizontal nipples are found above.

6

u/deepPurpleHaze Apr 24 '15

Yes i could. I'd love to find a way that doesn't include specific domain knowledge though. Maybe i can just add a bunch of belly buttons to the training set.

3

u/[deleted] Apr 24 '15

What about inverted nipples? Many women have them... Have you accounted for those?

3

u/deepPurpleHaze Apr 24 '15

3

u/[deleted] Apr 24 '15

( ͡° ͜ʖ ͡°)

6

u/Farseli Apr 24 '15

Seems to work well on my wife. Hell, the more inverted one had a higher confidence level.

1

u/[deleted] Apr 24 '15

NICE!

1

u/shaggorama Apr 24 '15

That makes sense. I'm...uh...testing your app, and it can't seem to find my nipples through my hairy chest.

1

u/deepPurpleHaze Apr 24 '15

There aren't any examples like that in the training set and so it won't do as well on men. That's by design since your nipples are really false positives in our society with respect to nudity detection.

3

u/ozyman Apr 24 '15

its a strange optical illusion i never saw before.

Sounds similar to the Hollow Face Illusion

2

u/zdk Apr 23 '15

I think the thing to do is just have a totally separate classifier for males vs females and concatenate the results.

1

u/mkoxbg Apr 23 '15

it seems to see the large boobs as a nipple, and then a nipple inside, so in this case it should pick female. or fat/muscle guy.

1

u/phyxle Apr 24 '15

I think you can improve by searching for pair to get better results.

9

u/bomb116 Apr 24 '15

So you literally got tit pics for science.

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.

4

u/andreasblixt Apr 24 '15

So does the app also upload detected nipples for "training purposes"?

12

u/deepPurpleHaze Apr 24 '15

The app doesn't have internet permissions and doesn't keep any data. That's by design.

The database is trained on my pc and not on the phone. I'd like to update the local database on the fly with new images but thats difficult. And unless the user tells the app if its right theres no ground truth to train on.

4

u/powercow Apr 24 '15

if only it could scan videos and give me the times. :P

5

u/deepPurpleHaze Apr 24 '15

it could even if it would take a while.

4

u/synaesthesisx Apr 24 '15

Would this work with pierced ones too?

9

u/deepPurpleHaze Apr 24 '15

http://i.imgur.com/qvRhlMO.jpg [NSFW]

yes some of the nipples in the training set are pierced and it could probably generalize that anyways.

2

u/IgorAce Apr 24 '15

This summer I will be getting into neural nets, any advice?

1

u/deepPurpleHaze Apr 24 '15

With respect to deep learning frameworks i've tried Caffe, Theano, and Torch. Caffe is the most plug and play and Theano has great tutorials and documentation. Torch was the most difficult for me and had the least documentation but Google uses it a lot and it seemed reasonably fast.

1

u/IgorAce Apr 24 '15

did u find any textbooks to be super helpful?

2

u/f_ditty Apr 24 '15

How does this compare to Viola Jones?

1

u/deepPurpleHaze Apr 24 '15

3

u/f_ditty Apr 24 '15

Viola Jones used to be the best stuff (before Deep Learning). I implemented an extension to this for my Ph.D. work so I'm very curious to see how far the field has progressed empirically in important image recognition work like nipple detection.

1

u/deepPurpleHaze Aug 13 '15

Viola

I could never get the haar cascasdes to work well even as a pre-processing step. They either missed too many or generated more candidates than my sliding window. I tried 6 to 15 levels and applied random shifts and horizontal mirroring to the input data. Any suggestions?

2

u/forte4 Apr 24 '15

It flips the picture for android

1

u/deepPurpleHaze Apr 24 '15

What do u mean? If u found a bug please explain more so i can fix it. Thanks.

1

u/forte4 Apr 24 '15

The pictures I took come out sideways so the nippler are on my sternum and neck

1

u/deepPurpleHaze Apr 24 '15

interesting. what device and version are you using? also a screenshot would be amazing. Thanks :)

0

u/[deleted] Apr 24 '15

[deleted]

1

u/deepPurpleHaze Apr 24 '15

no idea. google image search has nothing.

1

u/[deleted] Apr 25 '15

Tineye says her name is Ashley.

2

u/[deleted] Apr 24 '15

http://imgur.com/3lnQK19

at least you tried

2

u/deepPurpleHaze Apr 24 '15

yes belly buttons are a problem still for sure. Who knew they looked so much like nipples?

2

u/DrKyleGreenThumb Apr 24 '15

So can I get my nips on this thing or what?

1

u/deepPurpleHaze Apr 24 '15

yes you can!

2

u/foxh8er Apr 25 '15

Apologies, but how are you feeding the image into the CNN? Do you have an application using Caffe hosted on a webservice?

1

u/deepPurpleHaze Apr 25 '15

No, the CNN has been implemented on the phone directly and it does all the processing locally. It doesn't send any information or have permission to access the internet at all.

182

u/notarowboat Apr 23 '15

This is hilarious

32

u/[deleted] Apr 24 '15

Putin Nipple Elbow

-52

u/Shotzo Apr 24 '15

It is?

-42

u/planetinternet Apr 24 '15

WHY KIDS DOWNVOTE YOU?

3

u/[deleted] Apr 23 '15

Does it work for buttholes too?

21

u/deepPurpleHaze Apr 24 '15

Wasn't trained on buttholes but you're welcome to try it and report back.

9

u/fourhoarsemen Apr 24 '15

I've always wanted to be a part of an academic research collaboration. Can I get the job of building up the training set?

3

u/mmmayo13 Apr 24 '15

Based on the question, I recommend you get to a doctor immediately.

17

u/peletiah Apr 24 '15

Big Head would be envious!

37

u/ThatSomeGaming Apr 23 '15

Putin tho

44

u/gwern Apr 24 '15

In some cultures, having 5 nipples is considered a sign of great virility.

13

u/ArcticCelt Apr 24 '15

God damn Putin, he always has to outdo everyone.

8

u/mmmayo13 Apr 24 '15 edited Apr 24 '15

In Communist Russia, nipple detect you!

11

u/[deleted] Apr 23 '15

Use this to apply for the Insight fellowship and you'll be my hero.

10

u/BenjaminGeiger Apr 24 '15

I took a grad level ML course a few semesters ago. We had to do a project.

I wish I had thought of this. My partner and I did a subreddit recommendation engine (which never worked right).

And I got grouched at for referring to /r/EarthPorn. Apparently a group of 22-30 year olds can't handle hearing the word "porn".

19

u/TecherTurtle Apr 24 '15

About your last point: you'd think they'd be into that considering the sticks up their asses.

-22

u/[deleted] Apr 24 '15

When I hear anyone use the word porn to describe anything not actually related to pornography I assume they're a stunted, video game playing manchild. And I'm usually right.

6

u/[deleted] Apr 24 '15

[removed] — view removed comment

-3

u/[deleted] Apr 24 '15

Pro tip: everyone is constantly making assumptions about other people based on your behavior.

It's called being human.

4

u/mmmayo13 Apr 24 '15

Finally!!!

4

u/JackiemX Apr 24 '15

Wow, NipAlert actually exists?

1

u/georgeo Apr 24 '15

I presume these are all the data scientists who developed the app.

2

u/deepPurpleHaze Apr 24 '15

yes i'm here!

1

u/quirm Apr 24 '15

So I guess this is similar to this: http://danielnouri.org/notes/2014/12/17/using-convolutional-neural-nets-to-detect-facial-keypoints-tutorial/ ?

What did you use for ConvNet deployment on Android devices?

1

u/deepPurpleHaze Apr 24 '15

Yes great tutorial. Thanks for the link. I used sh1r0's implementation as a framework https://github.com/sh1r0/caffe-android-demo

1

u/jet_heller Apr 24 '15

OK. Now, is this fast enough to work on real time video streams? Like, can I use it to detect nip slips on live TV? Or on my phone's camera?

and then screen shot it.

1

u/deepPurpleHaze Apr 24 '15

No. Unfortunately its not. Without a gpu it takes way too long. With a gpu i'm not sure but i doubt it could do 60fps or even 30. It's possible maybe with some dedicated hardware but in the future i'm sure it will be trivial.

It could crawl websites for nip slips or something like that.

1

u/alexmlamb Apr 28 '15

How many instances did you train on? Do you have a good sense for how many data points are needed to get good results?

1

u/deepPurpleHaze Apr 29 '15

About 2000 nipples and about 20,000 non-nipples. I tried 1:1 and 1:2 positives to negatives but adding more negatives seemed to eliminate false alarms without reducing the hit rate so i just added all the ones I had.

Working on a bigger database now!

6

u/TotesMessenger Apr 24 '15 edited Apr 24 '15

This thread has been linked to from another place on reddit.

If you follow any of the above links, respect the rules of reddit and don't vote. (Info / ^Contact)

3

u/fourhoarsemen Apr 24 '15

The future is now!

3

u/bmanny Apr 24 '15

The hero this city needs.

3

u/chezty Apr 24 '15 edited Apr 24 '15

australia tried to do something similar but failed.

they wanted to force all isp's to run a nudity filter to stop all porn, but the software kept flagging pictures of prime minister tony abbott as an arsehole

3

u/[deleted] Apr 25 '15

Finally AI makes sense to me

2

u/gungho_polly Apr 24 '15

Finally someone using neural networks with a real world application!

2

u/[deleted] Apr 24 '15

Waiting for google Glass integration.

2

u/berlinbrown Apr 24 '15

for science

2

u/yeaahhh Apr 24 '15

The horny NSA guys are totally gonna use this to more easily find titpics

1

u/[deleted] Apr 24 '15

Why???

1

u/timmaeus Apr 24 '15

Aaaaand a project on nipples is the top post of all time on /r/machinelearning.

1

u/[deleted] Apr 24 '15

TIL: Everything is a nipple.

1

u/funkarama Apr 25 '15

I am sorta happy that Putin's armpit is a nipple.

1

u/FR_STARMER Jul 21 '15

NipAlert!

1

u/sidsig Apr 24 '15

Reiterating: This is fucking hilarious!

1

u/smokeyj Apr 24 '15

And the state of penis recognition is.. well.. no one really wants to train that data..

3

u/quiteamess Apr 24 '15

The NSA is doing machine learning with your penis right now.

1

u/EnIdiot Apr 24 '15

I think the next thing he should work on is advanced asshole detection. The entire U.S. Congressional body has pictures of themselves on-line. You could train with that and then move on to corporate and religious figures.

-54

u/gabjuasfijwee Apr 23 '15

This is stupid

31

u/Zulban Apr 23 '15

Yes, nobody ever learned or accomplished anything from fun technical projects.

2

u/c3534l Apr 24 '15

I think that may be part of the fun.

0

u/[deleted] Apr 24 '15

[deleted]

6

u/shaggorama Apr 24 '15

But especially your training data

0

u/[deleted] Apr 24 '15

[deleted]

4

u/[deleted] Apr 25 '15

Tineye says her name is Ashley.