yahoo / open_nsfw

Not Suitable for Work (NSFW) classification using deep neural network Caffe models.
BSD 2-Clause "Simplified" License
5.86k stars 1.05k forks source link

how to run neural algorithm on remote image #63

Open matt212 opened 6 years ago

matt212 commented 6 years ago

How can we run on remote image rather than file path and integrated the code base with existing technologies like nodejs !

TheDailySpank commented 6 years ago

See https://github.com/nikos-glikis/nsfw-docker -- It has the option for the file to be a URL rather than a local file (the script downloads it to a temporary file and deletes after it's been scored).

Not quite sure what you're trying to do with nodejs but the model (to my knowledge) cannot be used in nodejs directly since it's a caffe model.

loretoparisi commented 6 years ago

Here is a similar implementation https://github.com/loretoparisi/docker/tree/master/nsfwaas