raminious / node-nude

Nudity detection with JavaScript and HTMLCanvas

Home Page:http://www.patrick-wied.at/static/nudejs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-nude

Node.js port of nude.js by Patrick Wied.

Installation

npm install nude

Usage overview

  var nude = require('nude');

  nude.scan('<FILE_PATH>', function(res) {
    console.log('Contains nudity: ' + res);
  });

  var isNude = await nude.scanAsync('<FILE_PATH>');

  nude.scanUrl('<FILE_URL>', function(res) {
    console.log('Contains nudity: ' + res);
  });

  var isNude = await nude.scanUrlAsync('<FILE_URL>');

About

Nudity detection with JavaScript and HTMLCanvas

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


Languages

Language:JavaScript 100.0%