Cloud-Based Assignment Evaluator: Achieving Precision through Similarity Index Analysis


In this project we will be using the services like AWS Lambda, Amazon S3, AWS Textract, AWS IAM, AWS Cloud Watch.


AWS Lambda:

It is a serverless service provided by AWS.

There is no need to provision the resources and servers.

It is an event-driven architecture that is when the only when the event is triggered the function gets  executed.

It uses pay-as-you-go pricing .

It has automatic scaling.



Amazon S3:

It is an object storage service.

It is a storage service where the data can be stored and retrieved anytime and anywhere.

It has got the best durability 99.999999999 .

It has unlimited storage and where each object should comprise the size of 0 bytes to 5 Tb.



AWS Textract:

It is a machine learning tool that can automate the printed text and handwriting.

Extract text, forms, and tables from documents with structured data, using the Amazon Textract Document  Analysis API.



AWS IAM:

A web service that helps you securely control access to AWS resources.

In this project we will be using Roles.

Roles: They provide temporary permission for accessing the service in AWS.


AWS CloudWatch:

Observe and monitor resources and applications on AWS, on premises, and on other clouds.

It helps you to view the history of events that have been performed by the users.


Steps:

  1. Create an S3 bucket.

Article content

2. Enable the ACL (Access Control Lists) and Enable public access:

Article content

3. Create the bucket.


Create a Lambda Function:


  1. Create a function: Provide a name for the function
  2. Choose the RunTime as : Python 3.9
  3. And create a role: which includes the permissions Amazon S3, AWS Textract, AWS CloudWatch, AWS Lambda  and also give full access to all the services.And create a role: which includes the permissions Amazon S3, AWS Textract, AWS CloudWatch, AWS Lambda  and also give full access to all the services.

Article content


Article content


And now add two files one as the Main file and the other as sub file in the S3 to find the similarity index between the files.


Article content

Test.pdf: This is the main file

Article content


T1.pdf: This is the sub file.

Article content


And now add the code in the lambda function to check the similarity index of both the files uploaded in the s3 bucket:

Article content


Article content
Article content

The status code is 200 and the function worked !!

The similarity index between both the files is 98.18%.

Article content

And check the results in the Cloud Watch log: 98.18%.

Article content


To view or add a comment, sign in

More articles by Nilesh Dokuparthi

  • Fashion Designing System

    Fashion Designing System

    Contents of article: 1. Need of the Fashion Design 2.

    1 Comment
  • BookMaker System[BMS]

    BookMaker System[BMS]

    Introduction to our SDP Project: Hello, We are glad to share our views on the article based on Book Maker System. Have…

Insights from the community

Others also viewed

Explore topics