The Not Safe For Families (NSFF) Component
As we mentioned earlier, one of the major issues that we faced when running the first generation of PetBattle was online trolls uploading inappropriate images to the system. This added to the operational overhead of running the platform because the PetBattle founders would have to search MongoDB for the offending images and remove them by hand—very tedious!
Ever innovating, the team decided to try and come up with an automated solution to this problem. One approach we decided to investigate was to use artificial intelligence (AI) to perform image classification on the uploaded images and incorporate this into the platform.
The field of AI in itself is a fascinating area of expertise that we won't even slightly go into here, other than to say that we are using a pre-trained image classification model served by the open source TensorFlow machine learning platform.
Great, but how do we go about running this on OpenShift?
...