Automatic Graph Data Extraction Using Deep Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for extracting data from bar charts and line charts are inefficient and imprecise, relying on semi-automatic techniques that require manual labeling and estimation, which are time-consuming and prone to errors.

Innovation Solution

A deep learning-based method for automatic data extraction from graphs, involving text box localization, element identification, and positional correlation verification, to accurately extract data points and values from bar charts, line charts, and mixed graphs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual labeling and estimation methods are used to extract data from graphs, then the extraction process can be performed with simple tools, but the efficiency and precision of data acquisition deteriorate

Engineering Contradiction:
Improvedata extraction precisionVSAvoiddata extraction time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent replaces manual mechanical operations (labeling, estimating, measuring) with an automated computer vision system that uses image processing algorithms to detect graph elements, identify data points, and extract values automatically, thereby eliminating the time-consuming manual process while maintaining or improving precision

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system enables self-service data extraction by allowing the graph image itself to provide all necessary information through automated analysis, where the computer vision system independently identifies axes, labels, data points, and extracts values without requiring manual intervention or additional input from users

Inventive Principle:
Principle #25Self-service

2Productivity

If automated image processing methods are used to locate and identify graph elements, then data extraction efficiency improves, but the complexity of the processing system increases

Engineering Contradiction:
Improvedata extraction efficiencyVSAvoidimage processing system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the graph image processing into distinct functional modules: graph element detection (axes, labels, ticks), data point identification, value extraction, and result compilation. This modular segmentation allows each component to be optimized independently while working together to achieve high overall efficiency

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The computer vision system is designed with universal capabilities to handle multiple types of graphs (bar charts, line charts, scatter plots) and various graph element configurations through a single integrated framework, reducing the need for multiple specialized tools and simplifying the overall system architecture

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Measurement precision

If deep learning methods are applied for text box localization and element identification, then the accuracy of data extraction improves, but the computational resources and processing time required increase

Engineering Contradiction:
Improveelement identification accuracyVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system performs preliminary processing steps such as image preprocessing, edge detection, and feature extraction before applying deep learning models. This preliminary action reduces the complexity of the main recognition task, allowing deep learning to focus on higher-level pattern recognition and improving overall efficiency while maintaining accuracy

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements a continuous processing pipeline where detected elements from one stage are immediately used in the next stage without interruption. The system maintains continuous optimization by using feedback from detection results to adjust processing parameters in real-time, ensuring efficient resource utilization while sustaining high accuracy throughout the extraction process

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS11335081B2Method for automatic extraction of data from graph
Publication Date: 2022.05.17 HANGZHOU DIANZI UNIV
  • US11335081B2 patent drawing
  • US11335081B2 patent drawing
  • US11335081B2 patent drawing

AI summary

A method for automatic extraction of data from a graph, including text area locating and text box classification; locating of coordinate axes, and locating of the positions of hatch marks on the coordinate axes; legend locating and information extraction; extracting corresponding bar or polyline connected components according to legend color, and filtering and classification; determining key points on the X-axis and locating a corresponding X-axis label for each key point; locating key points of the bars and polyline according to the X-axis key points, determining labeled numerical text boxes that correspond to the key points, and identifying the numerical text; calculating a corresponding value for each pixel, and estimating corresponding values of the key points of the bars or polyline; determining a final result according to a difference between the estimated values and the recognized labeled values.