1. A system for recognizing mathematical expressions, the system comprising: a pre-processing module operable to receive an image and obtain one or more candidate regions from the image; a feature extracting module operatively connected to the preprocessing module, the feature extracting module being operable to extract features of each of the candidate regions by applying a convolutional neural network (CNN), wherein the extracting of the features from each of the candidate regions includes sliding a window along each of the candidate regions such that the features are obtained from a plurality of positions of the window; an encoding module operatively connected to the feature extracting module, the encoding module being operable to encode the features into a distributive representation for each of the candidate regions separately; a decoding module operatively connected to the encoding module, the decoding module being operable to decode the distributive representation for each of the candidate regions into one or more output representations; and a post-processing module connected to the decoding module, the post-processing module being operable to combine the one or more output representations into an output expression in a computer-readable format.
1. A system for recognizing mathematical expressions, the system comprising: a pre-processing module operable to receive an image and obtain one or more candidate regions from the image; a feature extracting module operatively connected to the preprocessing module, the feature extracting module being operable to extract features of each of the candidate regions by applying a convolutional neural network (CNN), wherein the extracting of the features from each of the candidate regions includes sliding a window along each of the candidate regions such that the features are obtained from a plurality of positions of the window; an encoding module operatively connected to the feature extracting module, the encoding module being operable to encode the features into a distributive representation for each of the candidate regions separately; a decoding module operatively connected to the encoding module, the decoding module being operable to decode the distributive representation for each of the candidate regions into one or more output representations; and a post-processing module connected to the decoding module, the post-processing module being operable to combine the one or more output representations into an output expression in a computer-readable format. 7. The system of claim 1 , wherein each of the output representations refers to a character or a symbol, and wherein the output expression refers to a mathematical expression or a chemical formula provided in a markup language.