# Image Upload - Image Recognition API Support

**URL:** <https://meta.discourse.org/t/image-upload-image-recognition-api-support/155648>\
**Category:** Feature\
**Created:** [June 23, 2020, 4:55am UTC](https://meta.discourse.org/t/image-upload-image-recognition-api-support/155648 "2020-06-23T04:55:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)\
**Post date:** [June 23, 2020, 4:55am UTC](https://meta.discourse.org/t/image-upload-image-recognition-api-support/155648/1 "2020-06-23T04:55:06Z")

</div>

In light of the SESTA/FOSTA laws, which effectively remove a lot of protections for social/forum/ugc webmasters (Section 230 safe harbor). Making webmasters liable for what their users do.

It might be wise to support using an image recognition API as one solution for improving protection. In order to automate blocking uploads of explicit content like (unsafe, nudity, gore etc.).

Also improve protection from exploits like uploading inappropriate images in drafts, then hotlinking to those images elsewhere. Using it like free anonymous image hosting. I’m not sure how exploitable this is with Discourse, but it looks like with default settings, it could be exploitable for 180 days after draft creation without the webmaster knowing what has been uploaded (delete drafts older than n days).

Some APIs:

- [Amazon Rekognition](https://aws.amazon.com/rekognition/) (they claim it is directly integrate with [Machine Learning Workflow & Integrated Workflows - Amazon Augmented AI - AWS](https://aws.amazon.com/augmented-ai/) for human reviews if wanted also).
- [Google Vision AI](https://cloud.google.com/vision/)
- [Microsoft Computer Vision](https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision/)
- [Imagga](https://imagga.com/)

 ![hotdog](https://global.discourse-cdn.com/meta/original/3X/1/8/18cd817497b8d626185cab256f6c354d019a2766.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/image-upload-image-recognition-api-support/155648)._
