Method and system for quickly locating bills based on colored line segments

A positioning method and technology of positioning system, applied in the field of image recognition, can solve the problems of short step size, unsuitable color image, low gradient, etc.

Active Publication Date: 2021-08-20
厦门商集网络科技有限责任公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing line segment detection algorithm has several deficiencies in bill detection: 1. It is not suitable for color images, which need to be converted into grayscale images for line segment detection; 2. There are a large number of lines in the bill content itself, and the lines and background colors The gradient is high and the step length is short, while the bill edge usually has a low gradient and a long step length, making it difficult to detect; 3. The detection speed is slow

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for quickly locating bills based on colored line segments
  • Method and system for quickly locating bills based on colored line segments
  • Method and system for quickly locating bills based on colored line segments

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] Such as figure 1 As shown, the rapid positioning method of bill frame based on color line segment detection includes the following steps:

[0065] S1: Obtain a frame of image containing bills, such as figure 2 The original image is shown in color.

[0066] S2: Perform proportional reduction processing on the one frame of the image containing the receipt by using a linear interpolation method to obtain a reduced image. The proportional value lv=300 / min(w, h) used by the linear interpolation method, wherein, w, h are respectively the width and length of the image containing the bill in the frame, and the width and height of the reduced image are respectively w 2 =w×lv,h 2 =h×lv.

[0067] S3: Through the color LSD line segment detection algorithm, identify all the line segments in the reduced image, the line segments are expressed as L={x1, y1, x2, y2}, where (x1, y1) and (x2, y2) are The two endpoints of the line segment L, and all the line segments form a line segm...

Embodiment 2

[0092] The rapid positioning system for bill borders based on color line segment detection includes a memory and a processor, the memory stores instructions, and the instructions are suitable for being loaded by the processor and performing the following steps:

[0093] Get a frame containing the image of the ticket.

[0094] The frame of the image containing the bill is reduced proportionally by a linear interpolation method to obtain a reduced image. The proportional value lv=300 / min(w, h) used by the linear interpolation method, wherein, w, h are respectively the width and length of the image containing the bill in the frame, and the width and height of the reduced image are respectively w 2 =w×lv,h 2 =h×lv.

[0095] Use the color LSD detection algorithm to find all the line segments in the reduced image to form a line segment set L_set, the line segment is expressed as L={x1, y1, x2, y2}, where (x1, y1) and (x2, y2) is the two endpoints of the line segment L, wherein, t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a bill frame rapid positioning method based on color line segment detection and a system thereof, comprising: inputting a bill image, scaling the image in proportion, detecting color line segments, merging line segments, screening line segments, building the largest quadrilateral, and outputting vertices. The beneficial effect of the invention is that the colored bills can be identified without being affected by the gray scale conversion, the vertices of the bills can be accurately and quickly positioned, and effective bill areas can be cut out.

Description

technical field [0001] The invention relates to a bill rapid positioning method and system based on colored line segments, belonging to the field of image recognition. Background technique [0002] Through image processing technology, the text and numbers of bills are converted into electronic version data, and the collection of data information is quickly realized through computer programs. In the traditional financial process, there are a large number of bills that need to be entered manually, and the use of image recognition technology greatly improves the efficiency and accuracy of data collection. With the development of image processing and OCR character recognition technology, the electronic financial process has greatly reduced the work intensity of financial bill reimbursement. [0003] In automatic bill recognition, business card recognition and other scenarios, the image obtained by using the mobile terminal to take pictures is not an accurate bill, and even the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06K9/00G06K9/32G06T3/40
CPCG06T3/4023G06V30/412G06V10/25
Inventor 吴建杭李辉林波黄星根陈文传方恒凯郝占龙林玉玲庄国金
Owner 厦门商集网络科技有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products