From 1cf1c6742398e8ce098aefb1b605e18e41d2a05d Mon Sep 17 00:00:00 2001 From: "Matthew Lenz (MP)" Date: Mon, 19 May 2025 20:01:35 -0500 Subject: [PATCH 1/2] remove unused deprecated module and add missing requirement --- requirements.txt | 1 + src/docscan/cmd/cli.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c7444b8..2a07f05 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,7 @@ click flask imutils numpy +onnxruntime opencv-python rembg waitress diff --git a/src/docscan/cmd/cli.py b/src/docscan/cmd/cli.py index aa19073..2b36eae 100644 --- a/src/docscan/cmd/cli.py +++ b/src/docscan/cmd/cli.py @@ -1,5 +1,4 @@ import glob -import imghdr import os import sys From 32c39d2e943a2473723a24b2fc47a993f72d42bd Mon Sep 17 00:00:00 2001 From: "Matthew Lenz (MP)" Date: Mon, 19 May 2025 20:06:28 -0500 Subject: [PATCH 2/2] fix example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 14d3420..d53e212 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Scan from a remote image Scan from a local file ```bash - docscan path/to/output.png path/to/input.png + docscan path/to/input.png path/to/output.png ``` ### Usage as a library