Metadata-Version: 2.1
Name: binarypipe
Version: 0.1.1
Summary: Import binary data such as images, audio in ready to feed format for ML models with just one line of code
Home-page: https://github.com/shivampip/BinaryPipe
Author: Shivam Agrawal
Author-email: shivam301296@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: matplotlib
Requires-Dist: tensorflow

# BinaryPipe

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

#### Installation

```bash
pip install binarypipe
```

### ImagePipe

imagepipe provides utilities to use image datasets in ML models

* import imagepipe

```python
from binarypipe import imagepipe as ip
```

* Load single image file

```python
# 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

```python
X, y= ip.load_dataset("folder_path/", 0)
# X= (?, width, height, channel)
# y is label 
```

* Load multiple class images 

```python
X, y= ip.load_datasets("folder_path/", )
```




