How to display a pdf image using the sparkocr.utils.display_pdf function inside of a databricks notebook with Spark OCR. #349
-
I am trying to display a pdf image using the sparkocr.utils.display_pdf function inside of a databricks notebook. However rather than rendering the image, I just see the output: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We have for databricks separate utils. Please look https://nlp.johnsnowlabs.com/docs/en/ocr_structures#databricks-python-helpers So for display pdf need to use it. Please look example here https://github.com/JohnSnowLabs/spark-ocr-workshop/blob/master/databricks/python/1.%20Extract%20text%20from%20scanned%20PDF%20files.ipynb |
Beta Was this translation helpful? Give feedback.
We have for databricks separate utils. Please look https://nlp.johnsnowlabs.com/docs/en/ocr_structures#databricks-python-helpers
So for display pdf need to use it. Please look example here https://github.com/JohnSnowLabs/spark-ocr-workshop/blob/master/databricks/python/1.%20Extract%20text%20from%20scanned%20PDF%20files.ipynb