English char image recognition method
AssigneeAdvanced View Inc.
InventorCHUNG-HSING CHEN
Life of this patent
Estimating the term…
Abstract
The invention provides an English char image recognition method mainly generating a rectangular coordinate frame from a loaded English character image, finding a gravity center in the rectangular coordinate frame, obtaining feature points on the rectangular coordinate frame and around the gravity center, performing one-dimensional convolutional operation and processing on the feature points to generate six layer feature maps, and generating a character recognition result from the six layer feature maps to solve the problem of generating a large amount of computation in conventional two-dimensional recognition operation, thereby achieving an efficacy of reducing recognition equipment costs and enabling fast and accurate recognition.
Claims9
An English char image recognition method applied to an electronic device with computing capabilities, the electronic device comprising a processing unit, the English char image recognition method at least comprising steps of:
- loading an English character image, generating a rectangular coordinate frame for the English character image by the processing unit;
- finding a gravity center of the English character image in the rectangular coordinate frame, radiating 12 straight lines in sequence from the gravity center toward a direction of the rectangular coordinate frame at an interval angle of 30°, defining a simulated distance on each of the straight lines and calculating 3 vector feature positions from the simulated distance in order to obtain 36 vector features in the rectangular coordinate frame and read a gray scale of the vector feature positions;
- dividing into four equal parts by 5 dividing points respectively on upper and lower edges of the rectangular coordinate frame and defining the dividing points as positions of upper and lower edge features to obtain 5 edge features respectively, dividing into five equal parts by 6 dividing points respectively on left and right edges of the rectangular coordinate frame and defining the dividing points as positions of left and right edge features to obtain 4 edge features in order to obtain 18 edge features on the rectangular coordinate frame and read a gray scale of positions of the edge features;
- merging 36 vector features and 18 edge features and arranging in a 1x54 array, adding a blank feature respectively at beginning and end of the 1x54 array, arranging and forming a feature map in a 1x56 array;
- performing 6 times of one-dimensional convolutional operation to generate 6 first array feature maps with an array of 1x54;
- performing a maximum pooling operation of convolutional neural network on each of the first array feature maps to generate 6 second array feature maps with an array of 1x27;
- performing a one-dimensional convolution operation of convolutional neural network on each of the second array feature maps to generate 16 third array feature maps with an array of 1x25;
- performing a full connection of convolutional neural network on the third array feature maps to form a fourth full connection layer/ fourth array feature maps with an array of 1 x300;
- performing a full connection of convolutional neural network on the fourth full connection layer/ fourth array feature maps to form a fifth full connection layer/ fifth array feature maps with an array of 1x150;
- performing a full connection of convolutional neural network on the fifth full connection layer/ fifth array feature maps to form a sixth full connection layer/ sixth array feature maps with an array of 1x52;
- and
- the processing unit performing probability recognition according to the sixth full connection layer/ sixth array feature maps with an array of 1x52 and outputting 52 probabilities, and among the outputted 52 probabilities, outputting a class with a probability value floating point number being closer to 1 as a character recognition result.
Dependencies are inferred from the claim text.