You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for implementing NSFWJS, which works very well!
I use this as a Node.JS microservice app, doing Server-Side validation of photos uploaded to my website.
Works well for JPG images. The Node app retrieves an image from a URL, converts to buffer, runs tf.tensor3d(), then classify().
However, I am not sure how to classify GIF images, server side.
From looking at your code, it appears that the "gif" parameter must be a DOM img element.
Is it possible to classify GIF images server side?
I suppose I can manually go through every frame of the GIF and run classify(), but if this could be natively implemented in NSFWJS, that would be perfect!
Have a great day. Thank you.
The text was updated successfully, but these errors were encountered:
I haven't run into the need to do this server-side just yet. I'd love to get a pull-request and merge the code so NSFWJS does this, would you be willing to solve it and send the code?
Hello,
Thank you very much for implementing NSFWJS, which works very well!
I use this as a Node.JS microservice app, doing Server-Side validation of photos uploaded to my website.
Works well for JPG images. The Node app retrieves an image from a URL, converts to buffer, runs tf.tensor3d(), then classify().
However, I am not sure how to classify GIF images, server side.
From looking at your code, it appears that the "gif" parameter must be a DOM img element.
Is it possible to classify GIF images server side?
I suppose I can manually go through every frame of the GIF and run classify(), but if this could be natively implemented in NSFWJS, that would be perfect!
Have a great day. Thank you.
The text was updated successfully, but these errors were encountered: