Spaces:
Runtime error
Runtime error
Deploy 2e8de88: Discoverability: Space metadata and tags, keyword intro, page meta description and Open Graph tags
Browse files- README.md +20 -5
- plotscribe/web.py +5 -1
README.md
CHANGED
|
@@ -1,17 +1,32 @@
|
|
| 1 |
---
|
| 2 |
-
title: plotscribe
|
| 3 |
emoji: 📈
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: docker
|
| 7 |
app_port: 8000
|
| 8 |
-
pinned:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# plotscribe
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
neural networks or LLM calls at runtime. It is CPU-only, needs no model files, and
|
| 16 |
takes about 3–4 s per chart.
|
| 17 |
|
|
|
|
| 1 |
---
|
| 2 |
+
title: plotscribe – Chart Image to CSV
|
| 3 |
emoji: 📈
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: docker
|
| 7 |
app_port: 8000
|
| 8 |
+
pinned: true
|
| 9 |
+
short_description: Extract data from chart images (PNG/JPG) to CSV
|
| 10 |
+
tags:
|
| 11 |
+
- plot-digitizer
|
| 12 |
+
- chart-data-extraction
|
| 13 |
+
- graph-to-csv
|
| 14 |
+
- computer-vision
|
| 15 |
+
- ocr
|
| 16 |
+
- opencv
|
| 17 |
---
|
| 18 |
|
| 19 |
+
# plotscribe: extract data from chart images to CSV
|
| 20 |
|
| 21 |
+
**Try it online:** [huggingface.co/spaces/jkos9/plotscribe](https://huggingface.co/spaces/jkos9/plotscribe)
|
| 22 |
+
|
| 23 |
+
plotscribe is a free, automatic plot digitizer. Upload a picture of a line chart,
|
| 24 |
+
bar chart or scatter plot (a screenshot, a figure from a paper, a PNG or JPEG) and
|
| 25 |
+
get the underlying data back as a CSV file. Unlike WebPlotDigitizer and similar
|
| 26 |
+
tools, there is nothing to click: axes, tick labels, legends and series are found
|
| 27 |
+
automatically.
|
| 28 |
+
|
| 29 |
+
It uses classical computer vision only: OpenCV, NumPy/SciPy and Tesseract OCR. No
|
| 30 |
neural networks or LLM calls at runtime. It is CPU-only, needs no model files, and
|
| 31 |
takes about 3–4 s per chart.
|
| 32 |
|
plotscribe/web.py
CHANGED
|
@@ -24,7 +24,11 @@ app = FastAPI(title="plotscribe")
|
|
| 24 |
|
| 25 |
_PAGE = r"""<!doctype html>
|
| 26 |
<html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
|
| 27 |
-
<title>plotscribe</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
<style>
|
| 29 |
:root{--ink:#0b0b0b;--ink2:#52514e;--muted:#898781;--grid:#e1e0d9;--axis:#c3c2b7;--surface:#fcfcfb;--page:#f9f9f7}
|
| 30 |
body{font-family:system-ui,-apple-system,sans-serif;max-width:1180px;margin:0 auto;padding:1.5rem 16px;color:var(--ink);background:var(--page)}
|
|
|
|
| 24 |
|
| 25 |
_PAGE = r"""<!doctype html>
|
| 26 |
<html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
|
| 27 |
+
<title>plotscribe – Extract data from chart images to CSV</title>
|
| 28 |
+
<meta name="description" content="Free online plot digitizer: upload a line, bar or scatter chart image (PNG/JPG) and get its data as CSV. Fully automatic, no sign-up.">
|
| 29 |
+
<meta property="og:title" content="plotscribe – Chart image to CSV">
|
| 30 |
+
<meta property="og:description" content="Upload a chart image, get the data back as CSV. Automatic plot digitizer for line, bar and scatter charts.">
|
| 31 |
+
<meta property="og:type" content="website">
|
| 32 |
<style>
|
| 33 |
:root{--ink:#0b0b0b;--ink2:#52514e;--muted:#898781;--grid:#e1e0d9;--axis:#c3c2b7;--surface:#fcfcfb;--page:#f9f9f7}
|
| 34 |
body{font-family:system-ui,-apple-system,sans-serif;max-width:1180px;margin:0 auto;padding:1.5rem 16px;color:var(--ink);background:var(--page)}
|