-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ
Common questions about Chart2CSV.
Chart2CSV is a tool that extracts numerical data from chart images. You give it a picture of a chart (like a screenshot or scan), and it gives you the data as a CSV file.
python -m chart2csv.cli.main your_chart.pngThis creates a CSV file with the extracted data points.
- Line charts
- Scatter plots
- Bar charts
Both linear and logarithmic scales are supported.
Yes. Chart2CSV is free and open source under the MIT license.
Yes. By default, Chart2CSV uses Tesseract OCR which runs completely offline. Your images never leave your computer.
Mistral is an AI service that can read text from images more accurately than traditional OCR. To use it:
- Get a free API key from https://console.mistral.ai/
- Set
MISTRAL_API_KEYenvironment variable - Add
--use-mistralflag
Accuracy depends on image quality. For clean, high-resolution charts, accuracy is typically 95%+.
Use --overlay to verify results visually.
- Check the overlay image to see what was detected
- Try
--use-mistralfor better OCR - Use
--cropto focus on the chart area - Use
--calibratefor manual calibration
Yes. Use batch mode:
python -m chart2csv.cli.main folder/ --batch --output-dir results/- PNG
- JPG/JPEG
- WebP
@software{chart2csv,
title = {Chart2CSV: Zero-Click AI Chart Data Extraction},
author = {kiku-jw},
year = {2025},
url = {https://github.com/kiku-jw/Chart2CSV}
}Open an issue on GitHub: https://github.com/kiku-jw/Chart2CSV/issues