Convert Multiple images into a array and saved it into .npy file and letter user it for various task
Project description
Convert-Images-Into-Array:
Convert Multiple images into a array and saved it into .npy file and letter user it for various task :
This package fuction requres two argument one is path of the images folder and another is image size.
OpenCV Document :
https://docs.opencv.org/3.4/de/d25/imgproc_color_conversions.html
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 import images
array = images(images_path, image_height, image_width)
print(array.shape)
#RGB ↔ GRAY :
from 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 import rgb_lab
lav = rgb_lab(images_path, image_height, image_width)
print(array.shape)
#RGB ↔ HLS :
from 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 import rgb_luv
luv = rgb_luv(images_path, image_height, image_width)
print(array.shape)
#RGB ↔ HSV :
from 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 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
LinkedIn : https://www.linkedin.com/in/sujit-mandal-91215013a/
Facebook : https://www.facebook.com/sujit.mandal.33671748
Twitter : https://twitter.com/mandalsujit37
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
Hashes for images_into_array-1.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29a75887e84ed5717b6e0026fe6444bcac74f0ea31087e910c0babd0f5b5528b |
|
MD5 | 9e5fa6efe819616e9d7f33b32d81a347 |
|
BLAKE2b-256 | ef5e4bc206c1ef6358a95f6db1211c6b18b70bb340eaf4a50ba158c52b4e252a |