binarypipe-0.1.1
توضیحات
Import binary data such as images, audio in ready to feed format for ML models with just one line of code
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | binarypipe-0.1.1 |
| نام | binarypipe |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Shivam Agrawal |
| ایمیل نویسنده | shivam301296@gmail.com |
| آدرس صفحه اصلی | https://github.com/shivampip/BinaryPipe |
| آدرس اینترنتی | https://pypi.org/project/binarypipe/ |
| مجوز | - |
# 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/", )
```
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| - | matplotlib |
| - | tensorflow |
نحوه نصب
نصب پکیج whl binarypipe-0.1.1:
pip install binarypipe-0.1.1.whl
نصب پکیج tar.gz binarypipe-0.1.1:
pip install binarypipe-0.1.1.tar.gz