SkillAgentSearch skills...

NodeNsfwJSAPI

NSFW-JS to classify and moderate image and gif. now with REST API

Install / Use

/learn @o7-Fire/NodeNsfwJSAPI
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Blazing Fast 🚀 NSFW API with NodeJS & ExpressJS

Proof of Concept & API

<details> <summary>Images of Proof of Concept & API</summary> <img src="https://cdn.discordapp.com/attachments/997385080047673415/1000561451938881566/unknown.png" name="1"> <img src="https://user-images.githubusercontent.com/49940811/204943613-580e107f-9ca4-4435-b7b7-44309ab55161.png" name="2"> <img src="https://user-images.githubusercontent.com/49940811/204942756-bd220b3b-0c84-4433-8d55-6c8dbeec2dea.png" name="3"> <img src="https://cdn.discordapp.com/attachments/840041811384860708/872867517125771355/unknown.png" name="4"> <img src="https://cdn.discordapp.com/attachments/840041811384860708/872865181213032518/unknown.png" name="5"> <img src="https://user-images.githubusercontent.com/49940811/206965088-ecde528e-a874-4444-af4a-613daff23d36.png" name="6"> </details>

Implementation

  • https://github.com/o7-Fire/mindustry-guacamole - Java - v3

Installing Tensorflow.js and Requirements (Random Stuff I Found on Internet)

TensorFlow.js for Node currently supports the following platforms:

The platforms listed include Mac OS X, Linux, and Windows operating systems, and support is provided for both CPU and GPU environments. Developers who want to use TensorFlow.js for Node on these platforms will need to ensure that their system meets the specified requirements.

  • Mac OS X CPU (10.12.6 Siera or higher)
  • Linux CPU (Ubuntu 14.04 or higher)
  • Linux GPU (Ubuntu 14.04 or higher and Cuda 11.2 w/ CUDNN v8) (see installation instructions)
  • Windows CPU (Windows 7 or higher)
  • Windows GPU (Windows 7 or higher and Cuda 11.2 w/ CUDNN v8) (see installation instructions)

For GPU support, tfjs-node-gpu@1.2.4 or later requires the developers to have certain versions of NVIDIA software installed on their system. The specific software requirements are listed in the table below.

| Name | Version | |---|---| | NVIDIA® GPU drivers | CUDA 11.2 | | CUDA® Toolkit | 11.2 | | cuDNN SDK | 8.1.0 |

Other Linux variants might also work but this project matches core TensorFlow installation requirements.

Installing CPU TensorFlow.js for Node:

npm install @tensorflow/tfjs-node

or

yarn add @tensorflow/tfjs-node

Installing GPU TensorFlow.js for Node:

npm install @tensorflow/tfjs-node-gpu

or

yarn add @tensorflow/tfjs-node-gpu

About

Adopted from:

  • https://github.com/SashiDo/content-moderation-image-api
  • https://github.com/infinitered/nsfwjs

Preview: https://api.mindustry.me

Related Skills

View on GitHub
GitHub Stars17
CategoryDevelopment
Updated2y ago
Forks7

Languages

JavaScript

Security Score

80/100

Audited on Sep 4, 2023

No findings