hhatto / nude.py

Nudity detection with Python
MIT License
921 stars 131 forks source link

Support for BytesIO (or StringIO) image ? #5

Open depado opened 9 years ago

depado commented 9 years ago

I currently want to integrate nudepy with one of my IRC Bot. (Some friends of me sends NSFW pics and people should be warned that it's NSFW) The fact is that I don't want to write the image on disk before analyzing it. Using requests, I can store the whole image in a BytesIO (or StringIO for python 2) in RAM instead of on disk. Is there a workaround to work with in RAM files ?

mhb11 commented 7 years ago

This feature would be very useful