[Paper Review] Automatic Identification and Data Extraction from 2-Dimensional Plots in Digital Documents
This paper presents a novel machine learning and image analysis framework for automatic identification of 2D plots in digital documents and precise extraction of data points, including overlapping ones. By combining wavelet features, edge detection, Hough transform, and simulated annealing, the system achieves 88.25% accuracy in 2D plot classification and recovers 88.9–91.0% of overlapping data points with high precision, enabling database indexing of visual data for semantic search.
Most search engines index the textual content of documents in digital libraries. However, scholarly articles frequently report important findings in figures for visual impact and the contents of these figures are not indexed. These contents are often invaluable to the researcher in various fields, for the purposes of direct comparison with their own work. Therefore, searching for figures and extracting figure data are important problems. To the best of our knowledge, there exists no tool to automatically extract data from figures in digital documents. If we can extract data from these images automatically and store them in a database, an end-user can query and combine data from multiple digital documents simultaneously and efficiently. We propose a framework based on image analysis and machine learning to extract information from 2-D plot images and store them in a database. The proposed algorithm identifies a 2-D plot and extracts the axis labels, legend and the data points from the 2-D plot. We also segregate overlapping shapes that correspond to different data points. We demonstrate performance of individual algorithms, using a combination of generated and real-life images.
Motivation & Objective
- To address the critical gap in digital library systems that fail to index data embedded in 2D plots, which are vital for scientific comparison and analysis.
- To develop an automated system that identifies 2D plots in digital documents and extracts structured data, including axis labels, legends, and data points.
- To solve the challenge of disambiguating overlapping data points in 2D plots, which are typically treated as noise or lost in traditional extraction methods.
- To enable end-to-end data extraction from 2D plots for indexing and semantic querying across scholarly documents.
Proposed method
- A linear SVM classifier is trained using a combination of image segmentation (IS), caption text (CT), and coordinate axis (CA) features to distinguish 2D plots from other figure types.
- Image features include wavelet coefficient histograms, edge detection, and Hough transform to detect lines and axes, enhancing plot detection accuracy.
- Connected component analysis segments the image into X-axis, Y-axis, and plotting regions, enabling localized processing of labels, legends, and data points.
- Text components are identified via spatial proximity and consistent spacing between characters, using heuristics to group characters into strings.
- Overlapping data points are disambiguated using simulated annealing, which optimizes the placement of candidate shapes to minimize error between observed and reconstructed pixel patterns.
- The cost function for simulated annealing is defined as the trace of the Gramian matrix of the difference between the observed image and the reconstructed shape set, guiding shape placement and center detection.
Experimental results
Research questions
- RQ1Can a combination of image-based features (wavelet, edge, Hough) and textual features (caption) reliably classify 2D plots in digital documents?
- RQ2How accurately can overlapping data points in 2D plots be disambiguated and their centers and shapes recovered using stochastic optimization?
- RQ3What is the performance of the proposed system in terms of 2D plot detection accuracy and data point recovery recall on real and synthetic datasets?
- RQ4Can the extracted data from 2D plots be effectively stored in a database to support semantic querying and cross-document analysis?
Key findings
- The system achieved 88.25% cross-validation accuracy in classifying 2D plots using all features (IS, CT, CA), outperforming individual or paired feature sets.
- The confusion matrix on the test set showed 134 correct 2D plot identifications out of 167 total 2D plots, with only 13 false negatives, indicating strong generalization.
- For overlapping data points, the simulated annealing method recovered 88.9% of diamond-shaped points and 91.0% of triangle-shaped points, with 10,000 iterations and a temperature constant of 0.4.
- Increasing iterations and slowing the annealing schedule improved recall, suggesting scalability with more complex configurations.
- The method successfully separated overlapping data points that would otherwise be lost, demonstrating feasibility for recovering previously inaccessible data.
- The framework is being integrated into a larger figure extraction system to support semantic indexing of visual data in digital libraries.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.