Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

NBIS/WSQ lib Python wrapper for Pillow

Project description

CeCILL-C Python 3.x Build Status (Travis CI) AppVeyor CI build status (Windows) Code Coverage Status (Codecov)

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.

Files for wsq, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size wsq-0.2-cp35-cp35m-manylinux1_x86_64.whl (274.6 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size wsq-0.2-cp35-cp35m-win_amd64.whl (45.8 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size wsq-0.2-cp36-cp36m-manylinux1_x86_64.whl (274.8 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size wsq-0.2-cp36-cp36m-win_amd64.whl (45.9 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size wsq-0.2-cp37-cp37m-manylinux1_x86_64.whl (275.7 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size wsq-0.2-cp37-cp37m-win_amd64.whl (44.2 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size wsq-0.2.tar.gz (129.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page