{"id":35171,"date":"2025-08-26T11:27:09","date_gmt":"2025-08-26T09:27:09","guid":{"rendered":"https:\/\/www.graviton.at\/letterswaplibrary\/stuck-on-extracting-structured-data-from-charts-graphs-ocr-not-working-well\/"},"modified":"2025-08-26T11:27:09","modified_gmt":"2025-08-26T09:27:09","slug":"stuck-on-extracting-structured-data-from-charts-graphs-ocr-not-working-well","status":"publish","type":"post","link":"https:\/\/www.graviton.at\/letterswaplibrary\/stuck-on-extracting-structured-data-from-charts-graphs-ocr-not-working-well\/","title":{"rendered":"Stuck On Extracting Structured Data From Charts\/graphs \u2014 OCR Not Working Well"},"content":{"rendered":"<p><!-- SC_OFF --><\/p>\n<div class=\"md\">\n<p>Hi everyone,<\/p>\n<p>I\u2019m currently stuck on a client project where I need to <strong>extract structured data (values, labels, etc.) from charts and graphs<\/strong>. Since it\u2019s client data, I <strong>cannot use LLM-based solutions (e.g., GPT-4V, Gemini, etc.)<\/strong> due to compliance\/privacy constraints.<\/p>\n<p>So far, I\u2019ve tried:<\/p>\n<ul>\n<li><strong>pytesseract<\/strong><\/li>\n<li><strong>PaddleOCR<\/strong><\/li>\n<li><strong>EasyOCR<\/strong><\/li>\n<\/ul>\n<p>While they work decently for text regions, they perform <strong>poorly on chart data<\/strong> (e.g., bar heights, scatter plots, line graphs).<\/p>\n<p>I\u2019m aware that tools like <strong>Ollama models<\/strong> could be used for image \u2192 text, but running them will <strong>increase the cost of the instance<\/strong>, so I\u2019d like to explore <strong>lighter or open-source alternatives<\/strong> first.<\/p>\n<p>Has anyone worked on a similar <strong>chart-to-data extraction<\/strong> pipeline? Are there recommended <strong>computer vision approaches, open-source libraries, or model architectures<\/strong> (CNN\/ViT, specialized chart parsers, etc.) that can handle this more robustly?<\/p>\n<p>Any suggestions, research papers, or libraries would be super helpful \ud83d\ude4f<\/p>\n<p>Thanks!<\/p>\n<\/div>\n<p><!-- SC_ON -->   submitted by   <a href=\"https:\/\/www.reddit.com\/user\/Fit-Soup9023\"> \/u\/Fit-Soup9023 <\/a> <br \/> <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/1n0glo7\/stuck_on_extracting_structured_data_from\/\">[link]<\/a><\/span>   <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/1n0glo7\/stuck_on_extracting_structured_data_from\/\">[comments]<\/a><\/span><\/p><div class='watch-action'><div class='watch-position align-right'><div class='action-like'><a class='lbg-style1 like-35171 jlk' href='javascript:void(0)' data-task='like' data-post_id='35171' data-nonce='65e0e39b87' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.graviton.at\/letterswaplibrary\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-35171 lc'>0<\/span><\/a><\/div><\/div> <div class='status-35171 status align-right'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Hi everyone, I\u2019m currently stuck on a client project where I need to extract structured data (values,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[],"class_list":["post-35171","post","type-post","status-publish","format-standard","hentry","category-datatards","wpcat-85-id"],"_links":{"self":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/35171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/comments?post=35171"}],"version-history":[{"count":0,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/35171\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/media?parent=35171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/categories?post=35171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/tags?post=35171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}