Method and device for realizing handwritten numeral recognition based on graphic edge detection
An edge detection and digital recognition technology, applied in the field of intelligent image recognition, can solve problems such as multiple digital samples, complex accuracy of deep learning models, and difficulty in having high guarantees, so as to improve authenticity, shorten project development cycles, and enhance product competition. force effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] A method for realizing handwritten digit recognition based on graphic edge detection includes the following steps: first, preprocessing the hand drawing to obtain a binary image; then extracting the outline of a single digit in the binary image; and then calculating the outer frame of a single digit Arrange the outer frame in ascending order; finally identify the numbers in the outer frame, and then connect the individual numbers to form the overall number;
[0054] In the present invention, after binarizing the hand-drawn drawing, the contour line of a single number is extracted, and then the frame of the single number is calculated and sorted, and finally the single numbers are connected to form an overall number; Then compare with the data model that contains a large number of abundant training samples to make the final recognition judgment. The present invention is aimed at a single number, and all integral numbers are composed of 10 numbers from 0 to 9, so the sample ...
Embodiment 2
[0057] In this embodiment, on the basis of Embodiment 1, the OpenCV library is used to grayscale and binarize the hand-drawn image to obtain a binarized image with only two values of 0 and 255 for the entire image.
Embodiment 3
[0059] In this embodiment, on the basis of Embodiment 1, the specific process of extracting the contour line of a single number in the binarized image is as follows: first use the edge extraction algorithm to extract the contour line of a single number in the binarized image; then delete step S201 Boundary contour lines in contour lines; then delete contour lines in contour lines whose contour area is smaller than the set threshold; finally get the outer contour line or outer contour line and inner contour line of a single number; if the number "1" only has the outer contour, the number "0" has both outer and inner contours.
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap