This implementation is taken from https://github.com/pawelmoll/wsq
cd lib/wsq
mkdir build
cd build
cmake -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3.5 -DPYTHON_VERSION_SUFFIX=-py35 ..
make
Copy python file into build folder.
- build library
cd lib/wsq/build
python3
>>> import wsq
>>> wsq.wsq_to_png('01.wsq', 'out.png')
0