Skip to main content

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

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

visionner-0.0.2-py3-none-any.whl (9.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