aws-samples / amazon-rekognition-engagement-meter Goto Github PK
View Code? Open in Web Editor NEWThe Engagement Meter calculates and shows engagement levels of an audience participating in a meeting
License: MIT No Attribution
The Engagement Meter calculates and shows engagement levels of an audience participating in a meeting
License: MIT No Attribution
Thank you very much @matteofigus for your help.
We finally able to deploy the modified version in our environment. The issue now is getting the below error when running rekognition and I guessing around api gateway configurations. I opened a support ticket as well. Just wanted to check on the side with you.
Access to XMLHttpRequest at 'https://w0mqswjzkk.execute-api.us-east-1.amazonaws.com/PROD/people' from origin 'https://d1wkp6ddp65zn.cloudfront.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Thanks,
Adams
After clicking the "Start Rekognition" button, the webpage tries to refresh, and gives "Aw, Snap!" error.
2019-09-25T09:27:35.212Z fb704d38-82bf-48d5-9a1c-07b62cb6eff0 { AccessDenied: Access Denied at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/services/s3.js:585:35) at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20) at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10) at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:683:14) at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10) at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12) at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10 at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9) at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:685:12) at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:116:18) message: 'Access Denied', code: 'AccessDenied', region: 'eu-west-1', time: 2019-09-25T09:27:35.211Z, requestId: 'xxxxxxxxxx', extendedRequestId: 'xxxxxxxxxx', cfId: undefined, statusCode: 403, retryable: false, retryDelay: 83.26157207853085 }
When deploying the template the Lambda function with Logical Id LambdaSetup is failing:
2023-11-01T15:13:27.701Z 3473ccf6-d08d-4527-8ead-6c56ce580109 INFO AccessControlListNotSupported: The bucket does not allow ACLs
at Request.extractError (/var/task/node_modules/aws-sdk/lib/services/s3.js:700:35)
at Request.callListeners (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/var/task/node_modules/aws-sdk/lib/request.js:688:14)
at Request.transition (/var/task/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/var/task/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /var/task/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/var/task/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/var/task/node_modules/aws-sdk/lib/request.js:690:12)
at Request.callListeners (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
at Request.emit (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/var/task/node_modules/aws-sdk/lib/request.js:688:14)
at Request.transition (/var/task/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/var/task/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /var/task/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/var/task/node_modules/aws-sdk/lib/request.js:38:9) {
code: 'AccessControlListNotSupported',
region: null,
time: 2023-11-01T15:13:27.700Z,
requestId: '<Redacted>',
extendedRequestId: '<Redacted>',
cfId: undefined,
statusCode: 400,
retryable: false,
retryDelay: 17.95203896988489
}
I'm guessing it could be related to https://aws.amazon.com/about-aws/whats-new/2022/12/amazon-s3-automatically-enable-block-public-access-disable-access-control-lists-buckets-april-2023/
Currently the project contains a dist
folder containing a distributable cloudformation template. The static dependencies (web ui in s3 and lambda) rely on a bucket I created called matteo-rekognition-demo-test
(https://github.com/aws-samples/amazon-rekognition-engagement-meter/search?q=matteo-rekognition-demo-test&unscoped_q=matteo-rekognition-demo-test) in my dev account.
I wonder if this is good enough or we should create an s3 bucket that adheres to specific requirements.
https://github.com/aws-quickstart/taskcat
Note: We may need to open-up the repo first and try integrating with Travis.
hi
If I upload a pic and this person is recognized in the video stream it doesn't put their name around the box , just leaves it as "Person 1" or whatever . It does recognize the picture correctly as the name pops up on the right . Which is correct, please ? I'd like it to do so, or is this an exercise for the reader ? My React skills are not very good.
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.