We used a pre-trained convolutional neural network (CNN) ResNet-50 model together with PyTorch . The dataset used for generating the image classifier consists of 16,000 images that were collected from different sources: 1) Chemical data images extracted from EP, US, and WO patents by OntoChem. 2) Images from the MolScribe datasets ] 3) DECIMER-hand-drawn molecule images dataset 4) Images from the Rxnscribe training set [3] 5) Formulas images from the im2latex-100k dataset .