markwest1972 / smart-security-camera Goto Github PK
View Code? Open in Web Editor NEWA Pi Zero and Motion based webcamera that forwards images to Amazon Web Services for Image Processing
License: GNU General Public License v3.0
A Pi Zero and Motion based webcamera that forwards images to Amazon Web Services for Image Processing
License: GNU General Public License v3.0
See discussion about limited S3 access in #2 .
Mark,
I know you aren't actively supporting this anymore, but do you know if the node.js code you wrote is compatible with 8.10? Can I just change the runtime of the lamda functions in the AWS console from 6.10 to 8.10?
Thanks,
Matt
First let me say thank you for this! I found this extremely helpful to get started using AWS for a project similar to yours. I would like to give back a little by making it easier for others to implement this by highlighting the following issues I encountered.
Suggested Implementation Plan - Step 5 - Hyperlink for aws-lambda-functions incorrectly maps to aws-step-function.
s3-trigger-image-processing instructions, upload to AWS section - Step 2. Instead of "/upload" it needs to be "upload". The "/" prevents the trigger from working.
You have hardcoded your AWS region into index.js files for both nodemailer-send-notification and nodemailer-error-handler. The description doesn't indicate that this needs to be changed. Maybe using another Environment Variable to hold the region?
Thanks again...
Thanks for sharing but the links are broken :(
Hello,
where I can find the Parameters.java with the function .getS3Bucket
Is it a maven dependency?
lg Jan
Hi there
Firstly thank you for this project!
I have been trying to get this working for a few weeks now, and though maybe you could suggest what I am doing wrong here.
Everything works fine up to the end of the first step-engine function (rekognition-image-assessment). According to the step engine the function completed (is green), and then directs to the nodemailer-error-handler (which is red).
The output of the rekognition-image-assessment function lists: {"Error":"Lambda.Unknown","Cause":"The cause could not be determined because Lambda did not return an error type."}.
I have added a few console.log statements to the rekognition-image-assessment code and tested, and it gets successful params, and I can output the request variable after the if/else loop. However the console.log statements inside the if/else loop never log, and I am not 100% sure how to read the request var output.
Is this something you came across at all?
Apologies for this request, but this is my first attempt with AWS, and my last programming experience was VN.net many years ago.
Thanks!
This function fails with the following error message:
Error [InvalidParameterValue: Missing required header 'From'.].
Full error message:
"errorMessage": "Error in [nodemailer-send-notification].\r Function input [{\n "Alert": "true",\n "Labels": [\n {\n "Name": "Human",\n "Confidence": 99.26097106933594\n },\n {\n "Name": "People",\n "Confidence": 99.26097106933594\n },\n {\n "Name": "Person",\n "Confidence": 99.26097106933594\n },\n {\n "Name": "Female",\n "Confidence": 72.58753967285156\n },\n {\n "Name": "Girl",\n "Confidence": 72.58753967285156\n },\n {\n "Name": "Woman",\n "Confidence": 72.58753967285156\n },\n {\n "Name": "Dimples",\n "Confidence": 71.27963256835938\n },\n {\n "Name": "Face",\n "Confidence": 71.27963256835938\n },\n {\n "Name": "Bling",\n "Confidence": 53.77670669555664\n },\n {\n "Name": "Jewelry",\n "Confidence": 53.77670669555664\n },\n {\n "Name": "Ornament",\n "Confidence": 53.77670669555664\n },\n {\n "Name": "Glasses",\n "Confidence": 52.02589797973633\n },\n {\n "Name": "Leisure Activities",\n "Confidence": 50.84391403198242\n },\n {\n "Name": "Sunglasses",\n "Confidence": 50.83937072753906\n }\n ],\n "OrientationCorrection": "ROTATE_0",\n "bucket": "blahblah",\n "key": "upload/0H2A8407.jpg"\n}].\r Error [InvalidParameterValue: Missing required header 'From'.]."
The role used for s3-trigger-image-processing lambda function also needs access to S3. The AmazonS3ReadOnlyAccess seems to work fine.
Thanks for writing up this project!
See #2 for discussion.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.