Giter VIP home page Giter VIP logo

nude.js's People

Contributors

gourxb avatar joechrysler avatar pa7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nude.js's Issues

Use web worker threads

The only way to make nude.js practical on a larger scale, such as a browser extension which attempts to hide nude images in Google Images, which displays many images at once is to divide up the processing among worker threads so interaction with the page isn't blocked.

Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

Hi there,

I am facing an issue with the Test project on the nude.js-master branch. I am getting an error message saying:

Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

And the detection script doesn't work. I am running this test project on my local machine with the original images and did not change anything in the code. I am opening this file in my browser: nude.js-master\tests\index.html

image

Do you have any idea how can I solve this and get it running on my machine?

License

Great work! May I suggest you add a license file?

Detect bare body parts

Amazing work! I salute you for building this in javascript!

Is it possible to customize it to detect bare body parts like hands, legs, chests and blur those regions? I would like to leave faces only and hide other bare body parts.

Thanks.

Security Error

Hi there,

I am working with nude.js to scan a series of images from Flickr. Now everything goes just fine up to the point where I call nude.scan. With that line I get the following security error in Chrome:

Uncaught Error: SECURITY_ERR: DOM Exception 18

And in Firefox:

Security error" code: "1000
http://www.local.com/labs/nude/js/nude.min.js
Line 1

Searched around a bit and found an entry on Stackoverflow that mentions the following:
"Error 1000 usually means you are trying to change something in the DOM which is not allowed." - http://goo.gl/zP1kl

I have tried running this via just plain http://localhost as well as mapped a domain name www.local.com to 127.0.0.1 using the hosts file but, in both cases I get the security error.

Also created a Fiddle you can check out here: http://jsfiddle.net/ossreleasefeed/Crzz3/

Using FaceDetection for better skin model.

A small possible improvement for a better skin model.

  • Perform face detection on the image:

screenshot from 2017-06-26 02 35 08

  • Get a color palette of dominant colors in the bounding box region:

screenshot from 2017-06-26 02 38 57

  • Original skin detection:

screenshot from 2017-06-26 02 36 33

  • New skin detection:

screenshot from 2017-06-26 02 34 34

For this example, this technique made a difference between nude detection i.e (totalSkin/totalPixels)*100 became greater than 15.

Is this project abandoned ?

Hi,

NudeJs seem to be awesome in lot of contexts,
I am working on a Cordova app for picture sharing and I am truly interested about your project.

I saw many of forks (like @forlooper or @goddamnbugs jobs) but I do not know the most advanced.

I tried your solution but results are really not reliable for grayscale pictures, non-white people or sandy colored subject.

I think to use neural networks or learning machines to do the job, what is your position about that ?

Kind regards,

Demo video has been taken down from YouTube.

I went to the demo which was supposed to show nude.js on a video. There was no video, only a black box where the video should've been, and when I clicked the Video URL link, I was greeted with this message:

"Who is God? - A Se..." The YouTube account associated with this video has been terminated due to multiple third-party notifications of copyright infringement.

Maybe it would be an idea to change the demo video?

worker js file

Even in the nude.min.js file it still want to load the uncompressed worker.nude.js. Also, it looks for the worker file in the root directory, one should either have to have the option to tell nude where the worker file is located or, it should default to the same directory in which nude is.

Usability

Could you make the script easier to use, so it can easily be made into a chrome addon?

Usability

I wrote some code that runs nude.js on flickr images, any search you provide, and also renamed and moved stuff so that the scripts can be more easily used (related to that other issue about the worker script).

Will send a pull request someday if I remember to!

Compromised test

Isn't this edited image compromising your tests? having that black square would not give wrong results?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.