.ipynb
.pdf
Images
 Contents 
Using Unstructured
Retain Elements
Images#
This covers how to load images such as JPG or PNG into a document format that we can use downstream.
Using Unstructured#
#!pip install pdfminer
from langchain.document_loaders.image import UnstructuredImageLoader
loader = UnstructuredImageLoader("layout-parser-paper-fast.jpg")
data = loader.load()
data[0]
rtdocs_stable/api.python.langchain.com/en/stable/modules/indexes/document_loaders/examples/image.html