Amazon Sagemaker
Amazon SageMaker is a fully-managed platform that enables developers and data scientists to quickly and easily build, train, and deploy machine learning models at any scale. With Amazon SageMaker, all the barriers and complexity that typically slow down developers who want to use machine learning are removed. The service includes models that can be used together or independently to build, train, and deploy your machine learning models.

Scanned Document Rotation Correction
By:
Latest Version:
2.0
Deep learning based solution to correct flipped pages in scanned documents to improve performance of document processing pipelines.
Product Overview
Scanned documents can have flipped pages that can create challenges while processing of documents using OCR, ICR, Text extraction, image-based ML/AI modelling, etc. This solution incorporates statistical models which identify document flip and correct the alignment of pages. It incorporates deep learning models to achieve this. The models are trained on a large dataset of thousands of pages. This enables OCR/ICR engines to achieve higher accuracy and improves the subsequent text extraction pipelines.
Key Data
Version
By
Type
Model Package
Highlights
This solution can be used to correct flipped pages which occur while scanning a document with scanner or phone.
This solution incorporates a CNN model trained on a large dataset of documents e.g. invoices, financial statements, legal documents etc. and can identify if a page is flipped. Flipped pages are corrected using computer vision algorithms.
Mphasis DeepInsights is a cloud-based cognitive computing platform that offers data extraction & predictive analytics capabilities. Need customized Machine Learning and Deep Learning solutions? Get in touch!
Not quite sure what you’re looking for? AWS Marketplace can help you find the right solution for your use case. Contact us
Pricing Information
Use this tool to estimate the software and infrastructure costs based your configuration choices. Your usage and costs might be different from this estimate. They will be reflected on your monthly AWS billing reports.
Contact us to request contract pricing for this product.
Estimating your costs
Choose your region and launch option to see the pricing details. Then, modify the estimated price by choosing different instance types.
Version
Region
Software Pricing
Model Realtime Inference$4.00/hr
running on ml.m5.xlarge
Model Batch Transform$8.00/hr
running on ml.m5.xlarge
Infrastructure PricingWith Amazon SageMaker, you pay only for what you use. Training and inference is billed by the second, with no minimum fees and no upfront commitments. Pricing within Amazon SageMaker is broken down by on-demand ML instances, ML storage, and fees for data processing in notebooks and inference instances.
Learn more about SageMaker pricing
With Amazon SageMaker, you pay only for what you use. Training and inference is billed by the second, with no minimum fees and no upfront commitments. Pricing within Amazon SageMaker is broken down by on-demand ML instances, ML storage, and fees for data processing in notebooks and inference instances.
Learn more about SageMaker pricing
SageMaker Realtime Inference$0.23/host/hr
running on ml.m5.xlarge
SageMaker Batch Transform$0.23/host/hr
running on ml.m5.xlarge
Model Realtime Inference
For model deployment as Real-time endpoint in Amazon SageMaker, the software is priced based on hourly pricing that can vary by instance type. Additional infrastructure cost, taxes or fees may apply.InstanceType | Realtime Inference/hr | |
---|---|---|
ml.m4.4xlarge | $4.00 | |
ml.m5.4xlarge | $4.00 | |
ml.m4.16xlarge | $4.00 | |
ml.m5.2xlarge | $4.00 | |
ml.p3.16xlarge | $4.00 | |
ml.m4.2xlarge | $4.00 | |
ml.c5.2xlarge | $4.00 | |
ml.p3.2xlarge | $4.00 | |
ml.c4.2xlarge | $4.00 | |
ml.m4.10xlarge | $4.00 | |
ml.c4.xlarge | $4.00 | |
ml.m5.24xlarge | $4.00 | |
ml.c5.xlarge | $4.00 | |
ml.p2.xlarge | $4.00 | |
ml.m5.12xlarge | $4.00 | |
ml.p2.16xlarge | $4.00 | |
ml.c4.4xlarge | $4.00 | |
ml.m5.xlarge Vendor Recommended | $4.00 | |
ml.c5.9xlarge | $4.00 | |
ml.m4.xlarge | $4.00 | |
ml.c5.4xlarge | $4.00 | |
ml.p3.8xlarge | $4.00 | |
ml.m5.large | $4.00 | |
ml.c4.8xlarge | $4.00 | |
ml.p2.8xlarge | $4.00 | |
ml.c5.18xlarge | $4.00 |
Usage Information
Fulfillment Methods
Amazon SageMaker
Input:
Following are the mandatory inputs for rotation correction algorithm on scanned documents:
- Supported content type:
application/zip
- The algorithm corrects upside down pages in scanned documents.
- The algorithm works with scanned documents in formats – PDFs and Images. The input documents must be zipped.
- The input zip file can have up to 5 images [for types see below] or a scanned document in PDF format with maximum 5 pages.
- Also the image size must be less than 2 MB and PDF size must be less than 4 MB.
- Images can be of following types - bmp, dib, jpeg, jpg, jpe, png, pbm, pgm, ppm, tiff, tif
Output:
Instructions for score interpretation:
- Content type:
application/zip
- Output zip file will contain Images / PDF with correct rotation depending on the documents inside Input zip file.
- Supported content types: ‘application/zip'
Invoking endpoint
AWS CLI Command
If you are using real time inferencing, please create the endpoint first and then use the following command to invoke it:
!aws sagemaker-runtime invoke-endpoint --endpoint-name $model_name --body fileb://$file_name --content-type 'application/zip' --region us-east-2 output.zip
Substitute the following parameters:
"model-name"
- name of the inference endpoint where the model is deployedfile_name
- input zip file nameapplication/zip
- type of the given inputoutput.zip
- filename where the inference results are written to
Resources:
Additional Resources
End User License Agreement
By subscribing to this product you agree to terms and conditions outlined in the product End user License Agreement (EULA)
Support Information
Scanned Document Rotation Correction
For any assistance reach out to us at:
AWS Infrastructure
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Learn MoreRefund Policy
Currently we do not support refunds, but you can cancel your subscription to the service at any time.
Customer Reviews
There are currently no reviews for this product.
View allWrite a review
Share your thoughts about this product.
Write a customer review