Hone grown solution like the one you built for moderation tasks is not recommended. You should rely in the scale of modern web on battle tested APIs such the one provided by PixLab for content moderation tasks (NSFW detection API).
What are the pros and cons of each solution in your opinion?
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.