Skip to main content

Visionner convert your image dataset into a numpy array ; more suitable for computer vision tasks

Project description

visionner

Visionner convert your image dataset into a numpy array ; more suitable for computer vision tasks.

Purpose of the package

  • The purpose of this package is to convert your image dataset into a numpy array wich is more suitable for Image processing , deep learning and computer vision tasks.

Features

  • Convert image folder into numpy array

Getting Started

The package can be found on pypi hence you can install it using pip

Installation

pip install visionner

Usage

### import usefull package
>>> from visionner import Vision
>>> import matplotlib.pyplot as plt 

### basic usage
>>> your_dataset=Vision("path/to/your/dataset/", size=(28, 28), normalize=True)

### visualize the first image
>>> plt.imshow(your_dataset[0])
>>> plt.show()

Contribution

Contribution are welcome. Notice a bug ? let us know. Thanks you

Author

Note

if you get an unicode erro like this :

SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

add r at the begining of your path like this

>>> your_dataset=Vision(r"path/to/your/dataset/", size=(28, 28), normalize=True)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

visionner-0.0.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

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