7 ms·
Automatically “block” people in images using a pretrained neural network
- deleted 9y ago[deleted]
- Scaevolus 9y agoThis would combine well with an in-painting algorithm-- or the video equivalents: https://research.adobe.com/project/content-aware-fill/ https://research.adobe.com/project/content-aware-fill/ https://www.youtube.com/watch?v=j3uCV0JYMJ4 https://www.youtube.com/watch?v=j3uCV0JYMJ4
- abledon 9y agoWill someone kindly smash this repo https://github.com/fivemok/image-inpainting https://github.com/fivemok/image-inpainting together with the submission?
- MBCook 9y ago“I thought what I'd do was, I'd pretend I was one of those deaf-mutes.”
- rootsudo 9y agoAlso, that Black Mirror episode. Edit: Turns out it's exactly what the author intended. Damn.
- MBCook 9y agoI thought of that too, but I didn’t know a quote I could use.
- downer67 9y agoNot exactly “intended”, but rather, for want of a better quote, the person you’ve replied to, chose Ghost In The Shell reference, based on a J.D. Salinger quote. The “author”, meanwhile, wrote the article we’re discussing in this HN thread.
- userbinator 9y agoWhat's next, cameras that refuse to take pictures of specific things? I find this unsettlingly creepy.
- slig 9y agoScanners have been refusing to scan certain things for ages.
- toomanybeersies 9y agoIt's always a "fun" party trick at the office to show people that you can't scan money.
- fibers 9y agoIn a stallman-esque world, this is just a problem in installing custom firmware in the scanner, right?
- bigiain 9y agoDJI build drones that refuse to take off in certain places - so it's not entirely unprecedented...
- garyfirestorm 9y agoWhat purpose does this serve? I'm genuinely curious what are the applications of this?
- deleted 9y ago[deleted]
- matte_black 9y agoImagine wearing AR glasses and blocking out people you find annoying or disagree with.
- Tempest1981 9y agoOr animals that frighten you.
- DINKDINK 9y agoStuffing people into Memory Holes.
- panic 9y agoWhy are we building the technology of a dystopia? What happened to shows like Star Trek which gave us more helpful goals to work toward?
- minimaxir 9y agoThe reason I made this was that I noticed Mask R-CNN’s masking and object identification capabilities were pretty good and I needed a refresher on Python-based image manipulation. https://twitter.com/minimaxir/status/976277067070300160?s=21 https://twitter.com/minimaxir/status/976277067070300160?s=21 And then I remembered Black Mirror and it gave me an idea. The step toward dystopia was not the primary motivation for this project.
- smithmayowa 9y agoThis is cool I remember trying to build a chrome extension for something like this a while ago for detecting and blocking images of animals people had phobia's for (e.g snake, spider and e.t.c) and I tried using pythons dlib object detector and shape landmarks predictor and it was a very stressful exercise in futility. Now I will have a look at mark r-cnn as it might help solve my problem and my few minutes of total brain fuckery after unlucky seeing a picture or a video with any kind of snakes in it, the big one's are of course worse.
- krapp 9y agoThe Star Trek whose utopia needed a world war against the ethnic cleansing of genetically engineered Nazi supermen and an alien invasion to "civilize" humanity in the post-apocalyptic aftermath? After which which humankind just somehow evolved beyond the petty desires and violent impulses that had hitherto been baked into its primate genome for millions of years? I love Star Trek but one person's utopia is another person's dystopia, it's just a matter of perspective. And as far as technology goes, the original series predicted a couple of things, and we got a Space Shuttle named after the Enterprise, but most of it is magic and therefore useless to the real world. No matter how hard we work or how much we believe in ourselves we're never getting matter replication or transporters or holodecks that will create sentient life on command. We could look at the ideals of Star Trek, but remember that what we see is quasi-militaristic, autocratic and there is no real sign anywhere of privacy or freedom from the surveillance infrastructure of the computer. Even the transporters keep copies of people's entire genetic code.
- lwansbrough 9y agoThe road to hell is paved with good intentions. And I think software engineers are this century's key perpetrators of "good intentions." Here's a hint: if you saw it in a dystopic thriller you probably don't need to build it, even out of morbid curiosity.
- tree_of_item 9y agoIf you saw it in a dystopic thriller and it's possible to build it then it's guaranteed that it will be built because the cat is out of the bag.
- lwansbrough 9y agoIt only gets built if some over-zealous nerds build it. That's the point.
- alexbeloi 9y agoOr someone that's "just doing their job".
- syshum 9y agoJust doing your job is not a justification or defense. Everyone has a choice to make as to what role they want to play in society, some people have chosen to build the tools of our destruction in exchange for pieces of silver, but that was their choice, "just doing their job" does not absolve them of that choice
- alexbeloi 9y agoI agree, your sentiment is precisely what I was implying with the quotes. These things don't always communicate perfectly through text or punctuation.
- yorwba 9y agoI have not watched the dystopic thriller you mention, so I don't know what kind of drawbacks you are expecting, but I think this technology might have some useful applications. E.g. an image-upload site could answer requests for deletion on privacy grounds not by taking the whole image down, but by obscuring only parts of the image. Or imagine you're taking a selfie in a crowded place and don't want all those other people diverting attention away from you. Basically, this could be used whenever someone might go for manually painting over parts of an image to remove content. Something similar for screenshots of conversations might be useful as well.
- gus_massa 9y agoIn some cases the shape is too small and left a few pixels around the person, or it has corners that are too sharp. Is it possible to add an option to enlarge the shape a few pixels? [Bonus points for another option to make soft shadows near the border of the shape, so it is not so sharp.]
- Keloo 9y agoPrepare your bicycle!!!
- thisisit 9y agoThis reminds me of the character Laughing Man in the anime Ghost in the Shell: https://en.m.wikipedia.org/wiki/Ghost_in_the_Shell:_Stand_Alone_Complex https://en.m.wikipedia.org/wiki/Ghost_in_the_Shell:_Stand_Al...
- berbec 9y agoWe are now a few steps away from Peril Sensitive Sunglasses. [1] 1: http://www.hhgproject.org/entries/perilsensitivesunglasses.html http://www.hhgproject.org/entries/perilsensitivesunglasses.h...
- d33 9y agoThis doesn't seem to work for me. I ran "python person_blocker.py -i images/img1.jpg -l" after installing dependencies and I only get: /home/d33tah/virtualenv-py3/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`. from ._conv import register_converters as _register_converters Using TensorFlow backend. 2018-03-31 12:53:18.777911: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA /usr/lib/python3/dist-packages/scipy/misc/pilutil.py:480: FutureWarning: Conversion of the second argument of issubdtype from `int` to `np.signedinteger` is deprecated. In future, it will be treated as `np.int64 == np.dtype(int).type`. if issubdtype(ts, int): /usr/lib/python3/dist-packages/scipy/misc/pilutil.py:483: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`. elif issubdtype(type(size), float):