Apply different text recognition services to images of handwritten documents.
Changes in this release:
requirements.txt
have been updated.Changes in this release:
network
module is gone; instead, this uses the equivalent functions from CommonPy's network_utils
module.Makefile
has a fix for updating CITATION.cff
.requirements.txt
.requirements-dev.txt
file for installing dependencies needed to run test cases using pytest
.This release includes standalone, runnable binaries for macOS and Linux. The experimental binaries are built using shiv. They only need a copy of Python 3.8, 3.9 or 3.10 on your system to run – they don't require installation of additional Python packages using (e.g.) pip
. To use them:
Download the Handprint zip file corresponding to the version of Python you have installed on your computer
Unzip the resulting file (if your web browser did not automatically unzip it)
Move the file handprint
to a location where your terminal shell looks for programs. A popular location is /usr/local/bin
.
Thereafter, you should be able to type handprint
in your shell and it should run. (If it does not, please report the problem using the issue tracker.) Note that the first time you run it, Handprint will take longer than usual to start because it does a one-time configuration step, but on subsequent runs, startup times should be shorter.
Changes in this release:
requirements.txt
and Pipfile
, to address a security issue in Pillow, update to CommonPy, and some other version updates.CITATION.cff
file to the repository on GitHubThis release includes standalone, runnable binaries for macOS and Linux. The experimental binaries are built using shiv. They only need a copy of Python 3.8 or 3.9 on your system to run – they don't require installation of additional Python packages using (e.g.) pip
. To use them:
Download the zip file for either the Python 3.8 or the 3.9 version, depending on the version of Python you have installed on your computer
Unzip the resulting file (if your web browser did not automatically unzip it)
Move the file handprint
to a location where your terminal shell looks for programs. A popular location is /usr/local/bin
.
Thereafter, you should be able to type handprint
in your shell and it should run. (If it does not, please report the problem using the issue tracker.) Note that the first time you run it, Handprint will take longer than usual to start because it does a one-time configuration step, but on subsequent runs, startup times should be shorter.
This release fixes a crash (issue #30) that occurs when someone tries to install credentials files.
This release includes standalone, runnable binaries for macOS and Linux. The experimental binaries are built using shiv. They only need a copy of Python 3.8 or 3.9 on your system to run – they don't require installation of additional Python packages using (e.g.) pip
. To use them:
Download the zip file for either the Python 3.8 or the 3.9 version, depending on the version of Python you have installed on your computer
Unzip the resulting file (if your web browser did not automatically unzip it)
Move the file handprint
to a location where your terminal shell looks for programs. A popular location is /usr/local/bin
.
Thereafter, you should be able to type handprint
in your shell and it should run. (If it does not, please report the problem using the issue tracker.) Note that the first time you run it, Handprint will take longer than usual to start because it does a one-time configuration step, but on subsequent runs, startup times should be shorter.
There are no functional changes in this release; the changes all concern code dependencies and installation instructions.
requirements.txt
now pin the versions of Python packages needed.Pipfile
and Pipefile.lock
files are now provided for use with pipenv.This release includes standalone, runnable binaries for macOS and Linux. The experimental binaries are built using shiv. They only need a copy of Python 3.8 or 3.9 on your system to run – they don't require installation of additional Python packages using (e.g.) pip
. To use them:
Download the zip file for either the Python 3.8 or the 3.9 version, depending on the version of Python you have installed on your computer
Unzip the resulting file (if your web browser did not automatically unzip it)
Move the file handprint
to a location where your terminal shell looks for programs. A popular location is /usr/local/bin
.
Thereafter, you should be able to type handprint
in your shell and it should run. (If it does not, please report the problem using the issue tracker.) Note that the first time you run it, Handprint will take longer than usual to start because it does a one-time configuration step, but on subsequent runs, startup times should be shorter.
There are no functional changes in this release compared to version 1.5.0; all of the code changes are internal, to speed up Handprint startup times and further clean up some code dependencies. Separately, new experimental, self-contained binary versions of Handprint are available for macOS.
import
statements have been moved from (usually) the tops of files, to where the packages are actually used in the code. Profiling using the Python -X importtime
option helped identify expensive packages to make this efficiency gain possible.ui.py
has been replaced with importing Bun.commonpy
needed is now 1.3.9.This release includes standalone, runnable binaries for macOS. The experimental binaries are built using shiv. They only need a copy of Python 3.8 or 3.9 on your system to run – they don't require installation of additional Python packages using (e.g.) pip
. They should work on macOS 10.13–11.1. To use them:
Download the zip file for either the Python 3.8 or the 3.9 version, depending on the version of Python you have installed on your computer
Unzip the resulting file (if your web browser did not automatically unzip it)
Move the file handprint
to a location where your terminal shell looks for programs. A popular location is /usr/local/bin
.
Thereafter, you should be able to type handprint
in your shell and it should run. (If it does not, please report the problem using the issue tracker.) Note that the first time you run it, Handprint will take longer than usual to start because it does a one-time configuration step, but on subsequent runs, startup times should be shorter.
This version contains many additions and some important bugs in the extended output (i.e., using the -e
flag) for Google and Amazon. If you use Handprint, you should definitely update to this version.
All changes in this release:
master
to main
. If you have clones or forks of this repo, please see GitHub's instructions for updating a local clone after a branch name change.-d
option (see below).-d
(short for --display
), lets users choose to display the bounding boxes of text, lines, and paragraphs (if the service supports these), in addition to or instead of the recognized text.-n
(short for --confidence
), allows users to apply a threshold to the confidence values returned for individual results, such that only results having confidence scores above a given value are shown in the output.-j
, (short for --reuse-json
) tells Handprint to look for the extended results produced by a previous run using -e
, and use that instead of contacting a service again.-m
, (short for --text-move
) lets users adjust the position of the text annotations overlaid on input images. This takes two numbers separated by a comma in the form x,y
. Positive numbers move the text rightward and upward compared to the default position.-x
, (short for --text-color
) allows users to change the color of the text annotations overlaid on input images.-z
, (short for --text-size
) lets users change the font size of the text annotations overlaid on input images.-e
) from Google now includes the confidence scores enabled using the option enable_text_detection_confidence_score
in the Google Vision API.-e
option is being used. Previously, images of the form somefile.handprint.png
were left around for somefile.png
so that subsequent runs were saved the time of resizing the image (if resizing was needed). However, this meant that subsequent runs would reuse the image even if the chosen destination services were different than in the run that produced the resized image, which meant that the subsequent runs might be using an unnecessarily small version of the image. To eliminate this risk, Handprint now deletes the resized image, even though this means repeated runs on the same image may require repeated resizing operations.urllib3
package.requirements.txt
have been updated to the latest versions, and some new dependencies have been added.This release does not change the user interface or functionality, but this is more than a patch release because it changes the minimum required versions of many Python packages and uses newer Google API libraries.
requirements.txt
to remove no-longer used packages and update minimum version numbers.README.md
to acknowledge the Python dependencies actually being used now.The file CHANGES contains a more complete change log, and includes information about previous releases.
This release brings a number of changes:
Some bugs have been fixed and internals have been (hopefully) improved.
The file CHANGES contains a more complete change log, and includes information about previous releases.
This release fixes the Microsoft output in annotated images to be word-based, rather than line-based, to make it the same as for the other services. The copyright year in source files has also been updated.
The file CHANGES contains a more complete change log that includes information about previous releases.