MFNudity
MFNudity is an iOS library that can be helpful for checking image nudity. You can use it in any iOS application which is dealing with images.
Swift 4.0 (Xcode 9.0)
pod 'MFNudity'Usage
First Step - @import MFNudity to your project
Second Step - Pass image to MFNudity's shared object
MFNudity.shared.checkImageNudity(image: imageView.image!) { (error, confidence) in
if error != nil
{
let converted = String(format: "%.2f", confidence!)
resultLbl.text = "NSFW - \(converted) %"
}
}
This 'confidence' shows float value from 0 to 1 . You can simply convert it into % and show image's nudity in percentage . For higher 'confidence' value it will be nude picture.
CocoaPods Install
Add this to your Podfile.
pod 'MFNudity'
Collaboration
Feel free to collaborate with ideas, issues and/or pull requests.
Contact
- Arpan & Jigar (http://mobilefirst.in)
- Twitter: @mobilefirstinc
- Email : arpan at mobilefirst.in
License
MFNudity is released under the MIT License.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
