Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sean-hill/serverless-rekognition
https://github.com/sean-hill/serverless-rekognition
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sean-hill/serverless-rekognition
- Owner: sean-hill
- Created: 2017-12-15T15:40:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-19T15:01:55.000Z (about 7 years ago)
- Last Synced: 2024-11-08T08:46:09.177Z (2 months ago)
- Language: JavaScript
- Size: 249 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless Rekognition Example
![Celebrities](https://raw.githubusercontent.com/sean-hill/serverless-rekognition/master/celebrities.jpg)
This repository provides a code sample of how to accept an image via `POST`
request and process that image to see if any celebrities are contained within
it.## Known Issues
The `multer` library does not seem to work with the `serverless-http` library.
When the express app is tested by itself by uncommenting the `app.listen` line
and running `node index.js` the image uploads work perfectly and Rekognition can
process the image as it should. However, when the express app is wrapped with
the `serverless-http` library, the image uploads are corrupted and are not
parsed as an image.This was tested using `serverless-offline` as well as in AWS with Postman as
seen below.![Postman](https://raw.githubusercontent.com/sean-hill/serverless-rekognition/master/postman.png)