-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Nick edited this page Dec 18, 2025
·
1 revision
Solutions to common problems.
Problem: OpenCV is not installed.
Solution:
pip install opencv-pythonProblem: Tesseract OCR is not installed.
Solution:
macOS:
brew install tesseractUbuntu:
sudo apt-get install tesseract-ocrWindows: Download from https://github.com/UB-Mannheim/tesseract/wiki
Problem: Chart2CSV reports confidence < 0.5
Solutions:
- Use higher resolution image
- Crop to just the chart area:
--crop x1,y1,x2,y2 - Try Mistral OCR:
--use-mistral - Use manual calibration:
--calibrate
Problem: Extracted values don't match the chart.
Solutions:
- Check if scale is logarithmic:
--y-scale log - Use manual calibration:
--calibrate - Verify with overlay:
--overlay check.png
Problem: Point count doesn't match visual.
Solutions:
- Force chart type:
--chart-type scatter - Adjust crop to exclude legend/title:
--crop - Check overlay to see what was detected
Problem: "API request failed" or authentication error.
Solutions:
- Check API key is set:
echo $MISTRAL_API_KEY - Verify key is valid at https://console.mistral.ai/
- Check internet connection
- Fall back to Tesseract (remove
--use-mistral)
Problem: Takes too long to process.
Solutions:
- OCR results are cached - second run is faster
- Reduce image size before processing
- Use Tesseract instead of Mistral for speed
Open an issue with:
- Your command
- Error message
- Sample image (if possible)