nsfw_detect 1.2.5
nsfw_detect: ^1.2.5 copied to clipboard
On-device NSFW/nudity detection for iOS and Android photo libraries. CoreML + Vision on iOS, TensorFlow Lite on Android. Progressive result streaming, body part detection, and ready-to-use gallery widgets.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add nsfw_detectWith Flutter:
$ flutter pub add nsfw_detectThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
nsfw_detect: ^1.2.5Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:nsfw_detect/nsfw_detect.dart';