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
- Main Maitainer : Charles TCHANAKE
- email : datadevfernolf@gmail.com
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
Close
Hashes for visionner-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66adb4f648e94bda2561efb5676ec904091edff2ff38d5a6f4a542dac741f932 |
|
MD5 | 19e95e3e36f743dc5cd135583518811f |
|
BLAKE2b-256 | 0780812bf75d58f8fb424983d797677b2eb995a12111f598cd17f7fafc9063fe |