Solution design

To achieve our solution, we are going to do the following:

  1. On the view-thread page, we are going to provide a button next to Reply named Reply with Video, to keep things simple
  2. The user is going to record a video using the camera attached to their laptop/computer
  3. We are going to the upload that video recording to our server
  4. The video will be saved on our servers temporarily
  5. The uploaded video will then be sent to Google Video Intelligence API to detect labels and explicit content
  6. If the explicit content returns POSSIBLE for the pornographyLikelihood property on any of the segments in the video, we do not allow the user to upload that video
  7. If the video is safe, we then upload it to Cloudinary, as we did in Chapter 3, Cloud ...

Get Google Cloud AI Services Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.