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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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