How to find out adult images uploaded by users on ruby ​​on rails

We have an application in which users can upload images, and these images will instantly appear on our website.

Last week, when one person uploaded a bunch of XXX-rated photos and things, he appeared immediately on the website. Fortunately, we noticed and deleted them in a few minutes. However, this time was enough to shock some of our other users.

Here is my question:

  • How to effectively analyze and block such images from loading?
  • If there is no effective library, 60-70% filtration is acceptable. So the admin panel can display notifications, and we can take action.

I think of something, that after the image has been uploaded, run this filter on the image and, if there is any problem, pass this image to administrators to approve it, basically keep the display on the website until it is approved .

Any help would be greatly appreciated.

+4
source share
1 answer

Eve, although I could not find the following interesting interesting topics that discuss the same

How to block the download of nude images?

PHP - Blocking uploaded images for adults

And most comments offer a solution for manual viewing, not automatic (Coz their point makes sense, there is no border to define an "adult image")

And the next commercial decision

crowdflower

+2
source

Source: https://habr.com/ru/post/1401953/


All Articles