Image Binarization

By :   Marcel Würsch

Pull command : Please register or login to see the pull command.

License : GNU LGPLv3


Tags : binarization document images

This tool takes a color input image (preferrably from a document) and turns it into a binarized version.

A container can be executed the following way:

docker run -it --rm -v /home/user/Documents/image.jpg:/input/input.jpg -v /home/user/Documents/:/output/ 86.119.41.65:5000/otsubinarization sh /input/script.sh /input/input.jpg /output/

The file located at /home/user/Documents/image.jpeg will be used as input and the resulting binarized image will be located at /home/user/Documents/otsuBinaryImage.jpeg

So simply speaking the command to execute this image is:

docker run -it --rm -v PATH_TO_INPUT_IMAGE:/input/input.jpg -v PATH_TO_OUTPUT_FOLDER:/output/ 86.119.41.65:5000/otsubinarization sh /input/script.sh /input/input.jpg /output/

And the output file will be named

OUTPUT_FOLDER/otsuBinaryImage.INPUT_FILE_EXTENSION

Comments

No customer comments for the moment.

Write your comment

Image Binarization

Write your comment

Settings

Click for more products.
No produts were found.

Menu