Automatic Detection and Rectification of Paper Receipts on Smartphones

03/10/2023
by   Edward Whittaker, et al.
0

We describe the development of a real-time smartphone app that allows the user to digitize paper receipts in a novel way by "waving" their phone over the receipts and letting the app automatically detect and rectify the receipts for subsequent text recognition. We show that traditional computer vision algorithms for edge and corner detection do not robustly detect the non-linear and discontinuous edges and corners of a typical paper receipt in real-world settings. This is particularly the case when the colors of the receipt and background are similar, or where other interfering rectangular objects are present. Inaccurate detection of a receipt's corner positions then results in distorted images when using an affine projective transformation to rectify the perspective. We propose an innovative solution to receipt corner detection by treating each of the four corners as a unique "object", and training a Single Shot Detection MobileNet object detection model. We use a small amount of real data and a large amount of automatically generated synthetic data that is designed to be similar to real-world imaging scenarios. We show that our proposed method robustly detects the four corners of a receipt, giving a receipt detection accuracy of 85.3 compared to only 36.9 method works even when the color of the receipt is virtually indistinguishable from the background. Moreover, our method is trained to detect only the corners of the central target receipt and implicitly learns to ignore other receipts, and other rectangular objects. Including synthetic data allows us to train an even better model. These factors are a major advantage over traditional edge detection-based approaches, allowing us to deliver a much better experience to the user.

READ FULL TEXT

page 1

page 2

page 3

page 4

page 5

page 7

page 8

page 9

research
11/29/2022

Analysis of Training Object Detection Models with Synthetic Data

Recently, the use of synthetic training data has been on the rise as it ...
research
05/24/2023

Realistically distributing object placements in synthetic training data improves the performance of vision-based object detection models

When training object detection models on synthetic data, it is important...
research
08/04/2017

Augmented Reality Meets Computer Vision : Efficient Data Generation for Urban Driving Scenes

The success of deep learning in computer vision is based on availability...
research
05/31/2022

Hands-Up: Leveraging Synthetic Data for Hands-On-Wheel Detection

Over the past few years there has been major progress in the field of sy...
research
10/21/2022

Real-time Detection of 2D Tool Landmarks with Synthetic Training Data

In this paper a deep learning architecture is presented that can, in rea...
research
10/12/2022

Projective Transformation Rectification for Camera-captured Chest X-ray Photograph Interpretation with Synthetic Data

Automatic interpretation on smartphone-captured chest X-ray (CXR) photog...
research
04/10/2019

Learning to Generate Synthetic Data via Compositing

We present a task-aware approach to synthetic data generation. Our frame...

Please sign up or login with your details

Forgot password? Click here to reset