Convert Multiple Images into a Array and Different Color Spaces into a Array
Project description
Package Installation :
pip install 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 :
How to import the module:
images_path = ('')
image_height = Enter The Image Size [32, 64, 128]
image_width = Enter The Image Size [32, 64, 128]
NORMAL :
from images_into_array.images_into_array import images
array = images(images_path, image_height, image_width)
print(array.shape)
RGB ↔ GRAY :
from images_into_array.images_into_array import rgb_gray
gray = rgb_gray(images_path, image_height, image_width)
print(array.shape)
RGB ↔ CIE Lab* :
from images_into_array.images_into_array import rgb_lab
lav = rgb_lab(images_path, image_height, image_width)
print(array.shape)
RGB ↔ HLS :
from images_into_array.images_into_array import rgb_hls
hls = rgb_hls(images_path, image_height, image_width)
print(array.shape)
RGB ↔ CIE Luv* :
from images_into_array.images_into_array import rgb_luv
luv = rgb_luv(images_path, image_height, image_width)
print(array.shape)
RGB ↔ HSV :
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) :
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for images_into_array-2.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f7155ccc54231c8263d1c32d94a44b372e6fe10125b036c03ee07a80ad6a295 |
|
MD5 | f8e4936b8e02a55d7db8b3cbb0f010f8 |
|
BLAKE2b-256 | df09dc741219d2a87ca586c7b29610d49818233dc86e5434016684ffe6296a82 |