The invention relates to the technical field of intelligent whiteboards, in particular to a
whiteboard handwritten formula real-time identification method and
system based on
artificial intelligence. The method comprises the following steps: constructing a
handwriting path track based on a touch
point sequence, and delimiting a high-density
handwriting region; performing symbol detection on the high-density
handwriting region to position a potential symbol region, and extracting a
stroke feature vector of the potential symbol region through a MobileNetV3-Small model; using the
stroke feature vector to fuse the handwriting pressure and the inclination angle feature to construct a symbol
relation graph; and performing
dynamic planning on the initial LaTeX sequence through a CYK
algorithm on the basis of node characteristics and a dynamic
adjacency matrix in the symbol
relation graph, and converting the symbol
relation graph into a LaTeX expression. According to the method, dynamic threshold segmentation is adopted, handwriting pressure and dip angle information are combined, the sampling density and the NMS threshold value are dynamically adjusted, a high-density area detection result is reserved preferentially, the symbol detection accuracy is remarkably improved, and the problem that missing detection or
false detection is prone to occurring in a dense writing area in a traditional method is solved.