Recent Releases of opennsfw2
opennsfw2 - 0.14.0
- Support parsing
PIL.Image.Imageobject(s) directly other than image path(s) topredict_imageandpredict_imagesfunctions. Rename the originalimage_path/image_pathsposition arg toimage_handle/image_handles(breaking change). - Add Python 3.12 to CI test.
- Python
Published by bhky almost 2 years ago
opennsfw2 - 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
- Python
Published by bhky over 4 years ago
opennsfw2 - Pre-trained weights
The original pre-trained weights of the Yahoo Open-NSFW model were in Caffe format, and later being migrated to TensorFlow 1.
Here, we provide an HDFS 5 format of these pre-trained weights for our TensorFlow 2 implementation of the same model.
- Python
Published by bhky over 4 years ago