aws-samples / aws-samples/aws-ai-intelligent-document-processing
02-idp-document-extraction-01.ipynb
- Dominant language
- Jupyter Notebook
- Stars
- 244
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
# Document
documentName = "simple-document-image.jpg"
display(Image(filename=documentName))
ERROR:
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
in
----> 1 display(Image(filename=documentName))
/opt/conda/lib/python3.7/site-packages/IPython/core/display.py in __init__(self, data, url, filename, format, embed, width, height, retina, unconfined, metadata)
1230 self.unconfined = unconfined
1231 super(Image, self).__init__(data=data, url=url, filename=filename,
-> 1232 metadata=metadata)
1233
1234 if self.width is None and self.metadata.get('width', {}):
/opt/conda/lib/python3.7/site-packages/IPython/core/display.py in __init__(self, data, url, filename, metadata)
635 self.metadata = {}
636
--> 637 self.reload()
638 self._check_data()
639
/opt/conda/lib/python3.7/site-packages/IPython/core/display.py in reload(self)
1261 """Reload the raw data from file or URL."""
1262 if self.embed:
-> 1263 super(Image,self).reload()
1264 if self.retina:
1265 self._retina_shape()
/opt/conda/lib/python3.7/site-packages/IPython/core/display.py in reload(self)
660 """Reload the raw data from file or URL."""
661 if self.filename is not None:
--> 662 with open(self.filename, self._read_flags) as f:
663 self.data = f.read()
664 elif self.url is not None:
FileNotFoundError: [Errno 2] No such file or directory: 'simple-document-image.jpg'
Contributor guide
Assessment
This issue has not been assessed yet.