Skip to main content

A python version of the Bilde library

Project description

bilde

(B)uffer (I)maging (L)ibrary, (D)irty and (E)xtendable

A library for writing procedural computer vision code in C++

  • Header only No linking complications! Just copy it in your source tree.

  • High C++ template use

  • Define algorithms once, use them directly on several back-ends. With a mechanism based on implicit template instantiation, an algorithm is defined as a single function, and will seemlesly run several image containers such as cv::Mat, IplImage, octave arrays, numpy arrays.

Python module

import pybilde
import skimage
img = skimage.data.coins()
histogram = pybilde.lbp_features(img, 8, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])

Demos:

  • SRS-LBP feature extractor:

Cross compiling for win32 (static build) and running in debian based linux.

Install dependencies:

sudo apt-get install autoconf automake autopoint bash bison bzip2 flex gettext git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev libtool-bin libltdl-dev libssl-dev libxml-parser-perl make openssl p7zip-full patch perl pkg-config python ruby scons sed unzip wget xz-utils g++-multilib libc6-dev-i386
export MXE_ROOT="$HOME/tools/mxe"
mkdir -p "$HOME/tools"
cd "$HOME/tools"
git clone https://github.com/mxe/mxe.git
cd mxe
make opencv boost

Compile:

./compile_static_mxe.sh ./src/lbpFeatures2.cc /tmp/lbp_features2.exe

Get help:

wine /tmp/lbp_features2.exe

Run:

wine /tmp/lbp_features2.exe -i ./sample_data/PICT2466.png > /tmp/features.csv

Compiling in ubuntu:

sudo apt-get install libopencv-dev libhighgui-dev libprotobuf-dev libwebp-dev #  depending on your system you might need other packages
cd src
make lbpFeatures2

Python extention (pybilde)

  • Install build dependencies
pip install cibuildwheel

Build bdist without a CI

CIBW_BUILD="cp313t-manylinux_x86_64 cp313t-manylinux_x86_64 cp312-manylinux_x86_64 cp311-manylinux_x86_64 cp310-manylinux_x86_64 cp39-manylinux_x86_64 cp38-manylinux_x86_64 cp37-manylinux_x86_64 cp36-manylinux_x86_64" CIBW_BEFORE_BUILD="yum install -y boost-devel" cibuildwheel --platform linux --output-dir wheelhouse
CIBW_SKIP="pp310-manylinux_i686 pp39-manylinux_i686 pp38-manylinux_i686 pp37-manylinux_i686 pp36-manylinux_i686 pp310-manylinux_x86_64  pp39-manylinux_x86_64 pp38-manylinux_x86_64  pp37-manylinux_x86_64 pp36-manylinux_x86_64" CIBW_BEFORE_BUILD="yum install -y boost-devel" cibuildwheel --platform linux --output-dir wheelhouse

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

bilde-0.2.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

bilde-0.2.2-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl (4.9 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ i686

bilde-0.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

bilde-0.2.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (4.9 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

bilde-0.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

bilde-0.2.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (4.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

bilde-0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

bilde-0.2.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (4.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

bilde-0.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

bilde-0.2.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (4.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

bilde-0.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

bilde-0.2.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (4.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

bilde-0.2.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

bilde-0.2.2-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (4.9 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

bilde-0.2.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

bilde-0.2.2-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl (4.9 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.17+ i686

File details

Details for the file bilde-0.2.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fca2043f9cb66c81aa39509dfaf1c53bdabcdc5aede2466944e9dc6bf6dea54a
MD5 d1881e37c351f73049bae461aaaa4e32
BLAKE2b-256 4d9ab11eb0480838890888f36dd8f27553caf40da61f5343a379f1421dca8c92

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4df23ff5d53da766619cfd78f3c96daf5f5871b79e74738747743e8d0b633340
MD5 a9e1d1f64931d6487f43b7abac88a171
BLAKE2b-256 e36020d7eb99c0ddf2fb303cfe55b9010e1697c9c893cb0109ceaabb12975844

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 689839cb80d972e187c6de53b6f0add1180a36fbdd22ee5b2d1e76c65c457b8a
MD5 8b0ef264a2d2dd54bb4562c7327724e9
BLAKE2b-256 73d47a48a909bdcabb7a3cd2c185d8f9cdbbdcca264d8c9543a2ce80fc1e82a4

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6b604144c9491120fc6e4180a2291cf71e28a507a5d2468a552860c5c3a90d7b
MD5 db2b4862d577cb3b723ce1ffef5748c2
BLAKE2b-256 ef4224deeadb9add44defb5d24f33e2b47a0b78d0b98cef53bf842c4bc5d71ad

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b24cc8770776bb83d8b11a127bbfaabe07c2595c1f9376454a4f5b4b8decd564
MD5 75ae3c6df136cc64f5cc05c639b438a7
BLAKE2b-256 a7a1917e3eaf341f92c244df849e07b23d512fa0a96607b831384f2ee84df4a4

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c5415a3a6018793ffb7db4a49f0f8c3a18162fc296b485d259c237ab264b878d
MD5 a32d0b060bfdd32eb957c13934ec33ad
BLAKE2b-256 35c4a0a831f4b438a40fe5ba1407ffd252e7e80b00d76081bc9ce7533f3bc888

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6917d7f9aa81021c00ff3b1041227ce939cf1b88a119c0b7cd2a09d5e5416c9b
MD5 839933846a8bb6ab3ccb21e96bb35154
BLAKE2b-256 d477d60c337169186eb2684b507c864f46a9747bffea588f18e9896b859ccede

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0e640a34e63770b3ec8bd187fda1e3c92ec2b78f214e5bc3eaa7082ec3eca848
MD5 24aaae194c7d220c5fadc4584cd21c62
BLAKE2b-256 caed8ad8d6efb92eddd4cfd88eebc0d7ae04afdf105f16295655f9e9f6fd3234

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d5c26ca530e3294fc6b39713029aa3b664284fd0da2a870edaf51af730673691
MD5 4a9eeba9fd9fa1fc6dc4389d3dcb3bec
BLAKE2b-256 eb8e8e3f5fca329825449ec3c916723987d24a06522736b1831fbb2563f9b288

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 115f3df37ee5c890632e76f98ebfe289921bf000e1c04b0211bb6f52bc8d62fb
MD5 e9594527088f2ba264ce576284b82a58
BLAKE2b-256 0ed2b0467c2abcdfd054a7d42014eb3ff3eeb293ed49943c74d9e9ba90d9ae4c

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 839a29e8ccd172d089b44958735a36fe30f626eb73d4471590e104c57f8000fd
MD5 ec22ec9f51f30116da4864bdc6ac86fd
BLAKE2b-256 4ac06c5762b0652bfc1bb6a19e59c47457e5a50cc5b8d58ac900f23d4725f8e2

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 26a3fc3193b63b1eb350f188ecd98b8b05d0f1f3e5bb50204614715f55dc254c
MD5 0bdd997723905f0a53f4b7643af50ee9
BLAKE2b-256 c6c019c33b61736ef073ab9c2438bebf39cf594898668a0a41be4fa89b04010f

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 28f201490717b14585871cae94ff44f794554112aa660e821cce88887f5bdc22
MD5 f682f1484ac8a92e498510bbb3304c27
BLAKE2b-256 205187647a2435d88b7d7b28d8fa9467ef9443328f51c70dabeb3618a58e7147

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c6a517d01740d744fa844437957d451b65f3069055a6d841c9889c51a002561a
MD5 1952e73514a53fdcd93e49dea6400948
BLAKE2b-256 051e007bc7049ff774cad515bc7a6fad8ab0fcaaa33ac13b5c492fe38fac6471

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5a1959e35fdbac23767df7040777f7ef0b9f9f6ff31e36246f536b8d3308de85
MD5 72fd0e205f4cb66d1d54bebe0c3a68a4
BLAKE2b-256 a006218eb28aaebdb3c8ad04646807b60005adaf415b673664e1062d67fe8f69

See more details on using hashes here.

File details

Details for the file bilde-0.2.2-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for bilde-0.2.2-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 8e0248efdfc91c0bfd784f9fbd68880ff4da52937ab9fad6fc72989ca45e32e0
MD5 75e421ba10267ab6e4d53ca35285cfe9
BLAKE2b-256 274ba07798d08779db4c092f4027e64ee9cbea0093b774bbc7fb1fc83c99db67

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page