Installation
We provide installation through PyPI or by cloning the project from GitHub.
Install via PyPI
-
Install
mrzscanner-docsaid
:pip install mrzscanner-docsaid
-
Verify the installation:
python -c "import mrzscanner; print(mrzscanner.__version__)"
-
If you see the version number, the installation is successful.
Install via GitHub
To install via GitHub, make sure you have Capybara
installed.
If not, refer to the Capybara Installation Guide.
-
Clone the project:
git clone https://github.com/DocsaidLab/MRZScanner.git
-
Navigate to the project directory:
cd MRZScanner
-
Install dependencies:
pip install wheel
-
Create the package:
python setup.py bdist_wheel
-
Install the package:
pip install dist/mrzscanner_docsaid-*-py3-none-any.whl
By following these steps, you should be able to successfully install MRZScanner
.
Once installed, you can test the installation with the following command:
python -c "import mrzscanner; print(mrzscanner.__version__)"
# >>> 1.0.6
If you see a version number like 1.0.6
, the installation was successful.