https://github.com/a-poor/nyc-2-sea-lambda
https://github.com/a-poor/nyc-2-sea-lambda
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/a-poor/nyc-2-sea-lambda
- Owner: a-poor
- Created: 2021-01-14T18:35:16.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-14T19:34:34.000Z (over 5 years ago)
- Last Synced: 2025-03-26T06:35:59.208Z (about 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NYC-2-SEA: Lambda
_created by Ausitn Poor_
Using AWS Lambda functions to process videos as they're uploaded to
S3 buckets.
Roadtrip videos are uploaded to an S3 bucket (`s3://nyc2sea-rawvideo`),
triggering the Lambda function in [vid2frames](./vid2frames), which
converts the videos to images and stores them into a new bucket
(`s3://nyc2sea-rawimages`).
A second Lambda function, in [frames2ocr](./frames2ocr), watches
`s3://nyc2sea-rawimages` for new frames. When new frames get added, this
function uses PyTesseract to perform OCR on the image (after a bit of
preprocessing) and then saves the results (as a JSON file) to a third
S3 bucket (`s3://nyc2sea-ocrdata`).
There are makefiles included for simplifying the process of building,
tagging and pushing the Lambda function docker images to AWS ECR.