All Projects → pa7 → Nude.js

pa7 / Nude.js

Nudity detection with JavaScript and HTMLCanvas

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Nude.js

Artificio
Deep Learning Computer Vision Algorithms for Real-World Use
Stars: ✭ 326 (-85.42%)
Mutual labels:  image-classification, image-processing
Dmsmsgrcg
A photo OCR project aims to output DMS messages contained in sign structure images.
Stars: ✭ 18 (-99.19%)
Mutual labels:  image-classification, image-processing
Face recognition
🍎 My own face recognition with deep neural networks.
Stars: ✭ 328 (-85.33%)
Mutual labels:  image-classification, image-processing
Computer Vision Guide
📖 This guide is to help you understand the basics of the computerized image and develop computer vision projects with OpenCV. Includes Python, Java, JavaScript, C# and C++ examples.
Stars: ✭ 244 (-89.09%)
Mutual labels:  image-classification, image-processing
Albumentations
Fast image augmentation library and an easy-to-use wrapper around other libraries. Documentation: https://albumentations.ai/docs/ Paper about the library: https://www.mdpi.com/2078-2489/11/2/125
Stars: ✭ 9,353 (+318.29%)
Mutual labels:  image-classification, image-processing
nsfw api
Python REST API to detect images with adult content
Stars: ✭ 71 (-96.82%)
Mutual labels:  image-classification, nudity-detection
Caer
High-performance Vision library in Python. Scale your research, not boilerplate.
Stars: ✭ 452 (-79.79%)
Mutual labels:  image-classification, image-processing
Sianet
An easy to use C# deep learning library with CUDA/OpenCL support
Stars: ✭ 353 (-84.21%)
Mutual labels:  image-classification, image-processing
Deep learning projects
Stars: ✭ 28 (-98.75%)
Mutual labels:  image-classification, image-processing
Pytorch Toolbelt
PyTorch extensions for fast R&D prototyping and Kaggle farming
Stars: ✭ 942 (-57.87%)
Mutual labels:  image-classification, image-processing
Catalyst
Accelerated deep learning R&D
Stars: ✭ 2,804 (+25.4%)
Mutual labels:  image-classification, image-processing
Images Web Crawler
This package is a complete tool for creating a large dataset of images (specially designed -but not only- for machine learning enthusiasts). It can crawl the web, download images, rename / resize / covert the images and merge folders..
Stars: ✭ 51 (-97.72%)
Mutual labels:  image-classification, image-processing
Dataturks
ML data annotations made super easy for teams. Just upload data, add your team and build training/evaluation dataset in hours.
Stars: ✭ 200 (-91.06%)
Mutual labels:  image-classification, image-processing
Medpy
Medical image processing in Python
Stars: ✭ 321 (-85.64%)
Mutual labels:  image-classification, image-processing
Concise Ipython Notebooks For Deep Learning
Ipython Notebooks for solving problems like classification, segmentation, generation using latest Deep learning algorithms on different publicly available text and image data-sets.
Stars: ✭ 23 (-98.97%)
Mutual labels:  image-classification, image-processing
Computervision Recipes
Best Practices, code samples, and documentation for Computer Vision.
Stars: ✭ 8,214 (+267.35%)
Mutual labels:  image-classification, image-processing
Ipyplot
IPyPlot is a small python package offering fast and efficient plotting of images inside Python Notebooks. It's using IPython with HTML for faster, richer and more interactive way of displaying big numbers of images.
Stars: ✭ 152 (-93.2%)
Mutual labels:  image-classification, image-processing
Alexei
DEPRECATED - An Image Processing Interface for Android
Stars: ✭ 182 (-91.86%)
Mutual labels:  image-processing
Gulp Webp
Convert images to WebP
Stars: ✭ 187 (-91.64%)
Mutual labels:  image-processing
Ossim
Core OSSIM (Open Source Software Image Map) package including C++ code for OSSIM library, command-line applications, tests, and build system
Stars: ✭ 182 (-91.86%)
Mutual labels:  image-processing

nude.js

nude.js is a JavaScript implementation of a nudity scanner based on approaches from research papers. HTMLCanvas makes it possible to analyse image data and afterwards decide whether it should be displayed or not. The detection algorithm runs at the client, therefore it's possible (with user interaction) to display the image even if it's identified as nude (false positive) The real world usage for client side nudity detection could be in webproxies with child security filters, and maybe even more (e.g. on social media plattforms) nude.js is Open Source. Contributions are very welcome, the goal is to build a reliable client-side nudity scanner.

NOTE The algorithm is mostly based on the following paper: https://sites.google.com/a/dcs.upd.edu.ph/csp-proceedings/Home/pcsc-2005/AI4.pdf?attredirects=0

Demo

Test the nudity detection script on several predefined images, I didn't have enough time to build a nice demo with flickr image support but feel free to test some of your images too. nude.js is currently supported in IE9(excanvas), FF 3.6+, Chrome, Safari and Opera. For really fast results try Chrome.

Include nude.js as ususal

<script src="nude.js/compressed/nude.min.js"></script>

Add images as usual

<img src="sample1.jpg" alt="Alt text" id="image1" onclick="onImageClick('image1');" />
<img src="sample2.jpg" alt="Alt text" id="image2" onclick="onImageClick('image2');" />
<img src="sample3.jpg" alt="Alt text" id="image3" onclick="onImageClick('image3');" />

Then run the checking algorithm on the images you want to run it on

nude.js provides 3 functions:

nude.init()

The init function initializes nudejs by appending a hidden canvas element to the document’s body.

nude.load(param)

The load function sets the size of the invisible canvas element and draws the imagedata into the canvas. It uses 2 types of parameters: a valid id of an element in the document’s body or an image/video element (CAREFUL: make sure you define width and height of your element ).

nude.scan(function optional)

This function initiates the scanning process, the optional function is executed after the scanning process finished.

Example

nude.load(node);
// Scan it
nude.scan(function(result){ 
    alert(result ? "Nudity found in " + node.id + "!" : "Not nude");
});

Project page

https://www.patrick-wied.at/static/nudejs/

Contact

If you have any questions about the project, don't hesitate to contact me:

https://www.patrick-wied.at

[email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].