NBIS/WSQ lib Python wrapper for Pillow
Project description
A Python library extending Pillow to support WSQ images.
This library is a simple wrapper on the NIST Biometric Image Software (NBIS) version 5.0.0 made available by the National Institute of Standards and Technology (NIST).
For the convenience of the build, the source code of NBIS (or to be more accurate, the part related to WSQ) is included in this repository. Apart from minor changes to make possible the build (like removal of some include directives) the NBIS source code is not changed.
Installation
wsq is published on PyPI and can be installed from there:
pip install -U wsq
To install from source code:
python setup.py build
The Python development library and C compiler must be available. For instance, for Ubuntu:
sudo apt install python3-dev
Quick Start
To open a WSQ image:
from import Image
import wsq
img = Image("my_image.wsq")
To save a WSQ images, use one of:
image.save(f,'WSQ')
# or
image.save('test.wsq')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for wsq-0.3-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60d08109b02f576db3660cf7dc337c6a6ae2aca0974a9282ab8857ea735b2c9 |
|
MD5 | 54424cc4813a101ad8c683448896b441 |
|
BLAKE2b-256 | acda85ac1794b47d79c76ce8a07cd0e99822c0737ede3d65243583a66b65980e |
Hashes for wsq-0.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 099d50f48d85f44154aeafab1d73e86a0f5be2a528b2e12917dcafb89bcf1645 |
|
MD5 | 2406ad7ae89feabadbc1583a4f9ad8ee |
|
BLAKE2b-256 | 1575a86ccb395953e660752f6f0afea0accfe386618c0cdfbab265cebc6aaad4 |
Hashes for wsq-0.3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd9edd958c6c79a3fcf4713265d6c87b0129b111abfed297446963b3fa527d42 |
|
MD5 | 89be52d87387ff4acbe49190b633fca0 |
|
BLAKE2b-256 | 4f32d46c8ae5a8c3126af87487d339ee2ddb2c6071e935de6c3a5c9cc8587388 |
Hashes for wsq-0.3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d77534a344f94e30dd65202f6f9d26b5a0674f11bec13b3c9a1f746ac98b59b4 |
|
MD5 | b9698edbc571fd6332cb10841f348f40 |
|
BLAKE2b-256 | 7a0a7c88ff3a3711ed7e07cbf3c3226b4ecd996a372c413c63afeac692beb750 |
Hashes for wsq-0.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a95767792629817a995c495884fa1d0f9b7cf2a826f2d610876d28492cf25d0 |
|
MD5 | 3c748cf445b394187427edfef76dc5c0 |
|
BLAKE2b-256 | 6c6cafea1986de341f3a4ca34ddd7c940528b824f871f14ab39bed89798fc24f |