Skip to main content

Convert Multiple Images into a Array and Different Color Spaces into a Array

Project description

Downloads Downloads Downloads

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 :

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.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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

images-into-array-2.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

images_into_array-2.0.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file images-into-array-2.0.2.tar.gz.

File metadata

  • Download URL: images-into-array-2.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for images-into-array-2.0.2.tar.gz
Algorithm Hash digest
SHA256 6cd2682332db37f51bda05068a6d21b61f8a88e9a28699634eba5b03f24ebab9
MD5 5a23b15576ddc296d95394761ddce3f1
BLAKE2b-256 58a99b30af1cc14be28e0236628e1d59690425557a260294f3f52d1c4e9c25af

See more details on using hashes here.

File details

Details for the file images_into_array-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: images_into_array-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for images_into_array-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea4ab7c8c8ece2648f2ccf55b09c6565e4a252f2848dd8111c13945e99c02e69
MD5 373e0975428d27b91765fff328a43417
BLAKE2b-256 1efd0f828c46d06b57528ed19252c542f2dde7e708bee1e00f185c23d7cb1038

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page