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 provides easy pipeline to use different binary format files in different Machine Larning models.


pip install binarypipe


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.

Files for binarypipe, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size binarypipe-0.1.1-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size binarypipe-0.1.1.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page