This is a sample web application for monitoring facility congestion using Amazon Rekognition. Images taken with a webcam are sent to the cloud, and the number of people in the images is calculated based on the response of Amazon Rekognition. Using AWS AppSync to notify end users of the number of facilities in real time. The backend of this application is developed by Amplify CLI.
Main Code: 990 LOC (17 files) = TSX (50%) + TS (43%) + CSS (4%) + HTML (1%) | |||
Duplication: 2% | |||
File Size: 0% long (>1000 LOC), 100% short (<= 200 LOC) | |||
Unit Size: 0% long (>100 LOC), 7% short (<= 10 LOC) | |||
Conditional Complexity: 0% complex (McCabe index > 50), 62% simple (McCabe index <= 5) | |||
|
Logical Component Decomposition: primary (10 components) | ||
Goals: Keep the system simple and easy to change (4) |
generated by sokrates.dev (configuration) on 2022-01-31