Skip to content

Commit

Permalink
Sohail/fix tkinter doc (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosahi authored Oct 29, 2024
1 parent 5a31076 commit 7dee39d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,22 @@ multimodal_test.pdf.metadata.json
You can view the full JSON extracts and the metadata definitions [here](docs/content-metadata.md).

#### We also provide a script for inspecting [extracted images](src/util/image_viewer.py)
First, install `tkinter` by running the following commands depending on your OS.
- For Ubuntu/Debian Linux:
```shell
sudo apt-get update
sudo apt-get install python3-tk
```
- For Fedora/RHEL Linux:
```shell
sudo dnf install python3-tkinter
```
- For macOS using Homebrew:
```shell
brew install python-tk
```
Then run the following command to execute the script for inspecting the extracted image:
```shell
pip install tkinter
python src/util/image_viewer.py --file_path ./processed_docs/image/multimodal_test.pdf.metadata.json
```

Expand Down

0 comments on commit 7dee39d

Please sign in to comment.