Visionner is a real world computer vision toolkit
Project description
visionner
Visionner is a real world computer vision toolkit
Purpose of the package
- The purpose of this package is to provide machine learning engineer a real world computer vision toolkit
Warning
Since Visionner still in alpha and under heavy development , expect to see many changes in the near futures.
Features
- Convert image folder into numpy array
- Normalize the dataset
- Split the trainset and the testset
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.Dataset.DatasetManager import DatasetImporter, DatasetNormalizer, TrainTestSpliter
>>> import matplotlib.pyplot as plt
### import your dataset
>>> your_dataset=DatasetImporter("path/to/your/dataset/", size=(28, 28))
### normalize your dataset
>>> your_normalized_dataset=DatasetNormalizer(your_dataset)
### create a trainset and a testset
>>>x_train, x_test=TrainTestSpliter(dataset, test_size=0.2)
### visualize the first image of your dataset
>>> 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 error 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)
Warning
Since Visionner still in alpha and under heavy development , expect to see many changes in the near futures.
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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80175b36514e26c651e52f238185a39e3a1dbc3b8234a31f37fe45728c62ce9b |
|
MD5 | d64bd9f580c2d2bf5a0efed1ae86eaf7 |
|
BLAKE2b-256 | 23f739f08316fdb9d0f6c178edbd8388a9640854261817151ea94d56e642c3f0 |