Opennsfw2

Latest version: v0.14.0

Safety actively analyzes 679296 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

0.5.1

Save output video, if enabled, as MP4 instead of AVI.

0.5.0

New:
- `predict_video_frames` for getting the NSFW probability of each video frame
- `predict_image` for getting the NSFW probability of a single image

Breaking changes:
- `predict` is removed, and replaced by `predict_images`, which returns a list of NSFW probabilities of the input images

0.4.1

Update dependencies.

0.4.0

Add an end-to-end pipeline function, `predict`, that takes as input a list of image paths and other optional parameters.

0.3.0

Updated required packages for installation.

0.2.0

Breaking changes: remove `load_and_preprocess_image`, introduce `preprocess_image` that takes as input a PIL image.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.