Hello!
I want to implement the nsfw-detector API from deepai.org into my OSSN to scan for illegal pictures or nudity and porn.
Someone has an Idea how to do that?
I'll pay if someone creates a component for me
API Docs are here:
To implement the nsfw-detector API from deepai.org into your OSSN (Open Source Social Network) to scan for illegal pictures or nudity and porn, you can follow these steps:
Sign up for an account on deepai.org and obtain an API key for the nsfw-detector.
In OSSN, create a new component that will handle the API requests to the nsfw-detector.
Within the new component, you can use a server-side programming language such as PHP to send image files to the nsfw-detector API endpoint using the HTTP POST method, along with your API key.
The nsfw-detector API will return a JSON response containing a probability score for whether the image is NSFW (not safe for work) or SFW (safe for work). You can parse the JSON response in your component and take appropriate actions based on the score returned.
For example, if the score is above a certain threshold, you can flag the image as NSFW and prevent it from being displayed on your site, or take other actions such as notifying the site admin or reporting the image to authorities.
If you are not familiar with programming or do not have the technical expertise to implement this solution, you may consider hiring a freelance developer to create the component for you. You can find developers on freelance marketplaces such as Upwork or Fiverr, and provide them with the API documentation and details of your OSSN setup.
To integrate the NSFW detector API from deepai.org into your OSSN, you will need to follow these steps:
Get an API key: Go to the deepai.org website and sign up for an account. Once you have an account, you will be able to generate an API key that you can use to access the NSFW detector API.
Integrate the API key into OSSN: Depending on how OSSN is built, you may be able to integrate the API key directly into the codebase or you may need to use a plugin. Consult the OSSN documentation or forums for guidance on how to do this.
Send images to the NSFW detector API: Once you have integrated the API key, you can send images to the NSFW detector API to check for nudity or pornographic content. You will need to use an HTTP request to send the image to the API and receive the response.
Handle the response: The NSFW detector API will return a score indicating the likelihood that the image contains nudity or pornographic content. You will need to write code to handle this response, for example by blocking images with a high score.
Note that the NSFW detector API is not perfect and may produce false positives or false negatives. It is important to have a human moderator review images flagged by the API to ensure that they are actually inappropriate.
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)