Skip to content

t29mato/AutoLineDigitizer

Repository files navigation

AutoLineDigitizer

A desktop application for automatic line chart data extraction using LineFormer with automatic axis detection via ChartDete and EasyOCR.

Demo

Video

AutoLineDigitizerDemo_low.mp4

Note: This demo video shows an earlier Streamlit-based version. The current version uses a Flet-based desktop app with a different UI, but the core functionality is the same.

Input / Output

Input Output
Input Output

Export to Digitizer Tools

StarryDigitizer WebPlotDigitizer
StarryDigitizer WebPlotDigitizer

Features

  • Line Extraction: Automatic line detection using LineFormer
  • Axis Detection: Automatic axis label reading via ChartDete + OCR
  • Export Formats:

Download

Download the latest version from the Releases page.

Platform File
macOS (Apple Silicon) AutoLineDigitizer-macOS.zip
Windows AutoLineDigitizer-Windows.zip

Note: Intel Mac is not currently supported. Apple Silicon (M1/M2/M3/M4) only.

Installation

macOS

  1. Download and unzip AutoLineDigitizer-macOS.zip
  2. Move AutoLineDigitizer.app to Applications
  3. On first launch, macOS will show a warning: "AutoLineDigitizer.app cannot be opened because the developer cannot be verified."
    • Click Cancel (not "Move to Trash")
    • Go to System Settings → Privacy & Security → scroll down and click "Open Anyway"
    • Or: Right-click the app → Open → click Open in the dialog
  4. Models will be downloaded automatically on first launch

Windows

  1. Download and unzip AutoLineDigitizer-Windows.zip
  2. Run AutoLineDigitizer\AutoLineDigitizer.exe
  3. Models will be downloaded automatically on first launch

Manual Model Download (Proxy / Firewall environments)

If auto-download fails (e.g., due to a corporate proxy), you can download the models manually via your browser and import them into the app.

Base Models (required)

  1. Download iter_3000.pth and checkpoint.pth from GitHub Releases
  2. In the app, click Import Models button that appears under the Line Model dropdown
  3. Select the downloaded .pth files

Battery Fine-tuned Models (optional)

  1. Download the model file from HuggingFace
    • lineformer_battery_iter_5000.pth — Battery (iter_5000)
    • lineformer_battery_best_iter_1300.pth — Battery (best)
  2. Select the Battery model from the Line Model dropdown
  3. Click the Import Model button that appears
  4. Select the downloaded .pth file

Image Attribution

Demo images are used under the following licenses:


License

This project is licensed under the MIT License - see the LICENSE file for details.

Third-Party Components

  • LineFormer: ICDAR 2023 Paper by Jay Lal et al.
  • ChartDete: MIT License, Copyright (c) 2023 Pengyu Yan
  • MMDetection: Apache License 2.0, Copyright (c) 2018-2023 OpenMMLab

Packages

 
 
 

Contributors

Languages