How to Scan a Video for NSFW Content in Go

If you regularly post or share video content for your business, you need to ensure that the content associated with your organization or brand maintains your standards without having to manually go through each video. In this quick tutorial, we will be showing you how to an API in Go to automatically scan video uploads for Not Safe for Work (NSFW) content. This process supports many input video formats including AVI, ASF, FLV, MP4, MPEG/MPG, Matroska/WEBM, 3G2, OGV, MKV, M4V and MOV.

Now, let’s call the function by inputting the video file and API key into the following example code:

package main

To retrieve your API key, visit the Cloudmersive website to register for a free account; this provides 800 monthly calls across our multitude of APIs.

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.