-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This package fuction requres three argument one is path of the images folder and other is image_height and image_width.
https://docs.opencv.org/3.4/de/d25/imgproc_color_conversions.html
images_path = ('')
image_height = Enter The Image Size [32, 64, 128]
image_width = Enter The Image Size [32, 64, 128]
from images_into_array.images_into_array import images
array = images(images_path, image_height, image_width)
print(array.shape)
from images_into_array.images_into_array import rgb_gray
gray = rgb_gray(images_path, image_height, image_width)
print(array.shape)
from images_into_array.images_into_array import rgb_lab
lav = rgb_lab(images_path, image_height, image_width)
print(array.shape)
from images_into_array.images_into_array import rgb_hls
hls = rgb_hls(images_path, image_height, image_width)
print(array.shape)
from images_into_array.images_into_array import rgb_luv
luv = rgb_luv(images_path, image_height, image_width)
print(array.shape)
from images_into_array.images_into_array import rgb_hsv
hsv = rgb_hsv(images_path, image_height, image_width)
print(array.shape)
from images_into_array.images_into_array import rgb_ycrcb
ycrcb = rgb_ycrcb(images_path, image_height, image_width)
print(array.shape)
• conda install -c conda-forge opencv=4.2.0
• pip install shuffle
• pip install numpy
• pip install tqdm
MIT Licensed
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