[SEO Subhead]
This Guidance shows how retailers can harness in-store cameras and AI/ML capabilities to gain deeper customer insights and enhance in-store experiences. With this Guidance, retailers can automatically collect valuable analytics like heatmaps, dwell-time, and traffic flow. This approach empowers brick-and-mortar retailers to better understand customer behavior, optimize layouts, and improve the shopping experience. By analyzing customers' in-store journeys, retailers can make data-driven decisions to enhance customer satisfaction, increase conversions, and boost overall sales performance.
Note: [Disclaimer]
Architecture Diagram
[Architecture diagram description]
Step 1
Users upload historical videos to Amazon Simple Storage Service (Amazon S3).
Step 2
Amazon S3 event notifications of a new object insert a new message in Amazon Simple Queue Service (Amazon SQS).
Step 3
A video processing application listens to the Amazon SQS queue for new object uploads. It downloads and extracts people-pathing information. Amazon EC2 Auto Scaling helps ensure there is always an Amazon Elastic Compute Cloud (Amazon EC2) worker for processing and scales down if there are no videos to process.
Step 4
After processing, people-tracking data is uploaded to an output folder in Amazon S3.
Step 5
New JSON output files trigger another Amazon SQS queue message.
Step 6
A visualization app captures new messages from Amazon SQS to render and display heat map information.
Get Started
Well-Architected Pillars
The AWS Well-Architected Framework helps you understand the pros and cons of the decisions you make when building systems in the cloud. The six pillars of the Framework allow you to learn architectural best practices for designing and operating reliable, secure, efficient, cost-effective, and sustainable systems. Using the AWS Well-Architected Tool, available at no charge in the AWS Management Console, you can review your workloads against these best practices by answering a set of questions for each pillar.
The architecture diagram above is an example of a Solution created with Well-Architected best practices in mind. To be fully Well-Architected, you should follow as many Well-Architected best practices as possible.
-
Operational Excellence
Integrating Amazon EC2 with Amazon CloudWatch logs allows you to seamlessly store and search your application logs, without additional infrastructure. Automatically scale your EC2 instances based on service events, such as new Amazon S3 objects or Amazon SQS messages. CloudWatch allows you to visualize and analyze these components so you can identify performance bottlenecks and troubleshoot requests.
-
Security
Use AWS Identity and Access Management (IAM) roles with minimum privileges to provide secure access to different components within your architecture. This approach ensures the best authorization mechanism to protect your system.
-
Reliability
Amazon EC2 Auto Scaling groups provide resiliency in processing video files, while Amazon SQS helps ensure that files are processed by your frontend application running on Amazon EC2. As managed services, Amazon S3 and Amazon SQS offer inherent reliability, with Amazon SQS monitoring queue length to spin up additional EC2 instances and Amazon EC2 Auto Scaling health checks confirming that new instances are provisioned to maintain desired capacity.
-
Performance Efficiency
Use Amazon EC2 GPU instances to satisfy the performance requirements of your video processing use case. Yolo9 deep learning models and GPU-based EC2 instances can help achieve optimal performance in your object detection algorithms.
-
Cost Optimization
The serverless nature of Amazon S3 and Amazon SQS eliminate the need for dedicated hosts when not in use. Amazon EC2 Auto Scaling groups and GPU-based instances optimize costs, as faster processing means less total compute time required compared to CPU-based instances.
-
Sustainability
Serverless services and Amazon EC2 Auto Scaling groups in this Guidance help reduce power consumption and environmental impact by eliminating wasteful overprovisioning of compute resources. Services like Amazon SQS, Amazon S3, and Amazon EC2 Auto Scaling are managed by AWS and help minimize wasted compute resources.
Related Content
[Title]
Disclaimer
The sample code; software libraries; command line tools; proofs of concept; templates; or other related technology (including any of the foregoing that are provided by our personnel) is provided to you as AWS Content under the AWS Customer Agreement, or the relevant written agreement between you and AWS (whichever applies). You should not use this AWS Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the AWS Content, such as sample code, as appropriate for production grade use based on your specific quality control practices and standards. Deploying AWS Content may incur AWS charges for creating or using AWS chargeable resources, such as running Amazon EC2 instances or using Amazon S3 storage.
References to third-party services or organizations in this Guidance do not imply an endorsement, sponsorship, or affiliation between Amazon or AWS and the third party. Guidance from AWS is a technical starting point, and you can customize your integration with third-party services when you deploy the architecture.