# Extract data from jpg images

**URL:** <https://forum.knime.com/t/extract-data-from-jpg-images/57999>\
**Category:** KNIME Analytics Platform\
**Created:** [January 2, 2023, 5:49pm UTC](https://forum.knime.com/t/extract-data-from-jpg-images/57999 "2023-01-02T17:49:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [January 2, 2023, 7:35pm UTC](https://forum.knime.com/t/extract-data-from-jpg-images/57999/4 "2023-01-02T19:35:22Z")

</div>

@AnthonyCREng here are two examples using R packages to extract text and tables from PDF files. Maybe you can give us some examples of what you want to extract so there might be solutions either with KNIME (parsers) or R or Python.

> [@Text mining from PDF documents and results places](https://forum.knime.com/t/text-mining-from-pdf-documents-and-results-places/48186/3):
>
> @janszky_nav I adapted an older example ([How to read multiple lines from PDF File - #6 by mlauber71](https://forum.knime.com/t/how-to-read-multiple-lines-from-pdf-file/46510/6)) using R code to extract the text from PDF files and then search for the page and line where a special word (in this case “Procter”) would appear.

> [@How to read multiple lines from PDF File](https://forum.knime.com/t/how-to-read-multiple-lines-from-pdf-file/46510/6):
>
> @Subramanyam you could try and use the [R package pdftools](https://www.r-bloggers.com/2021/06/extract-text-from-pdf-in-r-and-word-detection/) to extract the text. It will also extract the content of the table but there might be better ways to deal with them as we already have discussed - [Solutions to "Just KNIME It!" Challenge 15](https://forum.knime.com/t/solutions-to-just-knime-it-challenge-15/42482), [Extract Table from PDF with the help of R "tabulizer" and KNIME – KNIME Hub](https://kni.me/w/3YMQ5EiC7ojFR7AZ)). Every page will be in a table row so you might take it from there and start splitting and manipulating the header in order to get your information. [kn\_example\_…](https://forum.knime.com/uploads/short-url/oR0TgYDfOAGwyBeyf65UJ1iHSsu.knwf)

---

_[View the full topic](https://forum.knime.com/t/extract-data-from-jpg-images/57999)._
