Invoice date positioning method based on segmentation Hough transformation straight line detection
A positioning method and line detection technology, applied in the field of image processing, can solve problems such as noise interference and line segmentation, achieve precise positioning, good detection effect, and avoid repeated searches.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0025] refer to figure 1 , the present invention is based on the invoice date positioning method of subsection Hough transform straight line detection, implements according to the following steps:
[0026] Step 1: Obtain the width and height of the invoice image
[0027] Before performing the following steps, pre-binarize the invoice image to obtain the horizontal line in the image, figure 2 The invoice effect picture shown is as follows image 3 as shown,
[0028] After a lot of experiments, according to the invoice date sample, set the step size Ap_Length to 50;
[0029] Then set the size of the Hough[tMax][rMax] array, the first variable tMax is the radian dimension, tMax=180; the second variable rMax is the length dimension, and its calculation formula is:
[0030] rMax=(int)sqrt((float)(width*width+Ap_Length*Ap_Length))+1;
[0031...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com