Method and device for identifying segment code in image
A recognition device and image technology, applied in the field of image recognition, can solve problems such as wrong segment code range, wrong data acquisition, segment code recognition error, etc., and achieve strong anti-interference and normality guarantee effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] Embodiment 1 of the present invention provides a method for identifying segment codes in an image, such as figure 2 shown, including:
[0032] Step S1: The recognition device acquires the width of the image as the maximum abscissa value, and acquires the height of the image as the maximum ordinate value;
[0033] Step S2: The recognition device obtains the first abscissa value and the second abscissa value of the segment code in the image according to the color of the pixel in the image, the maximum abscissa value, and the maximum ordinate value;
[0034] Step S3: The recognition device obtains the first ordinate value and the second ordinate value of the segment code in the image according to the first abscissa value, the second abscissa value and the color of the pixel in the image;
[0035] Step S4: The recognition device obtains the coordinates of each stroke sampling area according to the first abscissa value, the second abscissa value, the first ordinate value a...
Embodiment 2
[0038] Embodiment 2 of the present invention provides a method for identifying a segment code in an image by taking a segment code in an image as an example, such as image 3 shown, including:
[0039] Step 101: The recognition device obtains the corresponding image according to the received image path, and judges whether the corresponding image can be obtained, and if so, obtains the width of the image as the maximum abscissa value, obtains the height of the image as the maximum ordinate value, and executes the step 102, otherwise display an error message and end;
[0040] For example, the image acquired by the recognition device is as Figure 4 shown;
[0041] In step 101, after the recognition device acquires the image, it may further include: the recognition device corrects the acquired image;
[0042] In step 101, after the recognition device acquires the image, it may also include: the recognition device traverses the pixels in the obtained image to obtain the average...
Embodiment 3
[0240] Embodiment 3 of the present invention provides a method for identifying segment codes in an image by taking multiple segment codes in an image as an example, such as Figure 11 shown, including:
[0241] Step 201: The recognition device acquires the corresponding image according to the received image path, and judges whether the corresponding image can be acquired, and if so, acquires the length of the image as the maximum abscissa value, and acquires the height of the image as the maximum ordinate value, and executes the step 202, otherwise display an error message and end;
[0242] For example, the image acquired by the recognition device is as Figure 12 shown;
[0243] In this step, after the recognition device acquires the image, it may further include: the recognition device corrects the acquired image;
[0244] In step 201, after the recognition device acquires the image, it may further include: the recognition device traverses the pixels in the obtained image...
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