The invention discloses an English
letter recognition method and device based on
machine vision and a medium, and relates to the technical field of image recognition, and the method comprises the steps: collecting an original image, carrying out the graying and denoising
processing, obtaining a denoised gray-scale image, carrying out the correction and binarization
processing of the denoised gray-scale image, and delimiting a connected domain, and obtaining a binary letter image; iteratively trimming the binary alphabet graph, setting nodes and edges, summarizing the nodes and the edges into a
skeleton graph structure, calculating the
path length of the edges and the curvature and the splitting degree of the nodes, and labeling the
path length and the curvature and the splitting degree on the
skeleton graph structure to obtain a
skeleton graph structure with topological filtering labeling; constructing input of a graph neural
network model according to a set topological complex of the skeleton graph structure with the topological filtering
label, and completing training of the graph neural
network model; and inputting the node
feature matrix into the graph neural
network model to obtain a
letter recognition result. According to the invention, through completing the training of the graph neural network model, the recognition accuracy of complex, scribbling or deformed letters is improved.