Convert Multiple Images into a Array and Different Color Spaces into a Array
Project description
Convert-Images-Into-Array:
Convert Multiple Images into a Array and Different Color Spaces into a Array.
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(gray.shape)
RGB ↔ CIE Lab* :
from images_into_array.images_into_array import rgb_lab
lav = rgb_lab(images_path, image_height, image_width)
print(lav.shape)
RGB ↔ HLS :
from images_into_array.images_into_array import rgb_hls
hls = rgb_hls(images_path, image_height, image_width)
print(hls.shape)
RGB ↔ CIE Luv* :
from images_into_array.images_into_array import rgb_luv
luv = rgb_luv(images_path, image_height, image_width)
print(luv.shape)
RGB ↔ HSV :
from images_into_array.images_into_array import rgb_hsv
hsv = rgb_hsv(images_path, image_height, image_width)
print(hsv.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(ycrcb.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
File details
Details for the file images-into-array-2.0.7.tar.gz
.
File metadata
- Download URL: images-into-array-2.0.7.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e5061dfcadb5d094997652f19dee2c02609e96fc99e18ff0ab6e57953e3336e |
|
MD5 | b73e1feaf1377c427869377c32aaa8c7 |
|
BLAKE2b-256 | f2c8a304616976914ec4d29681d560e9f58ba2035dcced1fb99697d7d45e75fd |
File details
Details for the file images_into_array-2.0.7-py3-none-any.whl
.
File metadata
- Download URL: images_into_array-2.0.7-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40cd7ebca3f35cfc9d85dec36e91b76d267c7f0f3fd90ee4b8b14c901e7c8df6 |
|
MD5 | ea783c7d4310bd9f04c05eceae6a5228 |
|
BLAKE2b-256 | 3447829506cc7d23e59551ab3e89e43a6dc7c96c39aa5c592af26b6bf364c6b4 |