[![Build Status](https://travis-ci.org/sujitmandal/images-into-array.svg?branch=master)](https://travis-ci.org/sujitmandal/images-into-array) [![GitHub license](https://img.shields.io/github/license/sujitmandal/images-into-array)](https://github.com/sujitmandal/images-into-array/blob/master/LICENSE) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/images-into-array) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/images-into-array) ![PyPI](https://img.shields.io/pypi/v/images-into-array)
[![Downloads](https://pepy.tech/badge/images-into-array)](https://pepy.tech/project/images-into-array)
## Package Installation :
```
pip install images-into-array
```
[Package LInk](https://pypi.org/project/images-into-array/)
## Convert-Images-Into-Array:
Convert Multiple Images into a Array and Different Color Spaces into a Array :
------------------------------------------------------------------------------
This package fuction requres three argument one is path of the images folder and other is image_height and image_width.
OpenCV Document :
-----------------
[OpenCV Document](https://docs.opencv.org/3.4/de/d25/imgproc_color_conversions.html)
## How to import the module:
```python
images_path = ('')
image_height = Enter The Image Size [32, 64, 128]
image_width = Enter The Image Size [32, 64, 128]
```
## NORMAL :
```python
from images_into_array.images_into_array import images
array = images(images_path, image_height, image_width)
print(array.shape)
```
## RGB ↔ GRAY :
```python
from images_into_array.images_into_array import rgb_gray
gray = rgb_gray(images_path, image_height, image_width)
print(array.shape)
```
## RGB ↔ CIE L*a*b* :
```python
from images_into_array.images_into_array import rgb_lab
lav = rgb_lab(images_path, image_height, image_width)
print(array.shape)
```
## RGB ↔ HLS :
```python
from images_into_array.images_into_array import rgb_hls
hls = rgb_hls(images_path, image_height, image_width)
print(array.shape)
```
## RGB ↔ CIE L*u*v* :
```python
from images_into_array.images_into_array import rgb_luv
luv = rgb_luv(images_path, image_height, image_width)
print(array.shape)
```
## RGB ↔ HSV :
```python
from images_into_array.images_into_array import rgb_hsv
hsv = rgb_hsv(images_path, image_height, image_width)
print(array.shape)
```
## RGB ↔ YCrCb JPEG (or YCC) :
```python
from images_into_array.images_into_array import rgb_ycrcb
ycrcb = rgb_ycrcb(images_path, image_height, image_width)
print(array.shape)
```
## Required package’s:
```
• conda install -c conda-forge opencv=4.2.0
• pip install shuffle
• pip install numpy
• pip install tqdm
```
## License:
MIT Licensed
## Author:
Sujit Mandal
[GitHub](https://github.com/sujitmandal)
[PyPi](https://pypi.org/user/sujitmandal/)
[LinkedIn](https://www.linkedin.com/in/sujit-mandal-91215013a/)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共11个文件
txt:3个
py:2个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:images-into-array-2.0.6.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
images-into-array-2.0.6.tar.gz (11个子文件)
images-into-array-2.0.6
MANIFEST.in 25B
PKG-INFO 4KB
LICENSE 1KB
setup.cfg 38B
setup.py 1KB
images_into_array.egg-info
PKG-INFO 4KB
SOURCES.txt 241B
top_level.txt 18B
dependency_links.txt 1B
README.md 3KB
images_into_array
images_into_array.py 9KB
共 11 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功