Skip to main content

Import binary data such as images, audio in ready to feed format for ML models with just one line of code

Project description

BinaryPipe

binarypipe provides easy pipeline to use different binary format files in different Machine Larning models.

Installation

pip install binarypipe

ImagePipe

imagepipe provides utilities to use image datasets in ML models

  • import imagepipe
from binarypipe import imagepipe as ip
  • Load single image file
# Load image
img= ip.load("path/image.jpg")

# Load in certain size
img= ip.load("path/image.jpg", size= (400, 600))
  • Load all images of folder as dataset
X, y= ip.load_dataset("folder_path/", 0)
# X= (?, width, height, channel)
# y is label 
  • Load multiple class images
X, y= ip.load_datasets("folder_path/", )

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

binarypipe-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

binarypipe-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file binarypipe-0.1.1.tar.gz.

File metadata

  • Download URL: binarypipe-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for binarypipe-0.1.1.tar.gz
Algorithm Hash digest
SHA256 659a29b6ff8cb6b653e256365d848476ed8ecd8b00cbea072aae6c57705c47b1
MD5 b7b684d22706761ee9201ef47d8593ec
BLAKE2b-256 bd12f7be38b04d0285da0cab9658061bb8b78ac8763265390057a645d4fb318a

See more details on using hashes here.

File details

Details for the file binarypipe-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: binarypipe-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for binarypipe-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92ff5a65ba80c9ea967813b69a5ec0c2d4851c7c7302e28057609d35a14aad4c
MD5 9e64842f0642a5900268e2b63f2021d1
BLAKE2b-256 5905d883f992592a9cb1877f1f64a62c80263ca12bb1b304c9a11cf8c7b0d3d4

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