Skip to main content

Image Processing For Machine Learning

Project description

Image Processing For Machine Learning package.

How to use ?

To use, simply do:

>>> from PIL import Image
>>> import ipfml as iml
>>> img = Image.open('path/to/image.png')
>>> s = iml.metrics.get_SVD_s(img)

Modules

This project contains modules.

  • img_processingPIL image processing part
    • fig2data(fig): Convert a Matplotlib figure to a 3D numpy array with RGB channels and return it

    • fig2img(fig): Convert a Matplotlib figure to a PIL Image in RGB format and return it

  • metricsMetrics computation of PIL image
    • get_SVD(image): Transforms PIL Image into SVD

    • get_SVD_s(image): Transforms PIL Image into SVD and returns only ‘s’ part

    • get_SVD_U(image): Transforms PIL Image into SVD and returns only ‘U’ part

    • get_SVD_V(image): Transforms PIL Image into SVD and returns only ‘V’ part

    • get_LAB(image): Transforms PIL Image into LAB

    • get_LAB_L(image): Transforms PIL Image into LAB and returns only ‘L’ part

    • get_LAB_A(image): Transforms PIL Image into LAB and returns only ‘A’ part

    • get_LAB_B(image): Transforms PIL Image into LAB and returns only ‘B’ part

    • get_XYZ(image): Transforms PIL Image into XYZ

    • get_XYZ_X(image): Transforms PIL Image into XYZ and returns only ‘X’ part

    • get_XYZ_Y(image): Transforms PIL Image into XYZ and returns only ‘Y’ part

    • get_XYZ_Z(image): Transforms PIL Image into XYZ and returns only ‘Z’ part

  • ts_model_helpercontains helpful function to save or display model information and performance of tensorflow model
    • save(history, filename): Function which saves data from neural network model

    • show(history, filename): Function which shows data from neural network model

All these modules will be enhanced during development of the project

How to contribute

This git project uses git-flow implementation. You are free to contribute to it.

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

IPFML-0.0.5.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file IPFML-0.0.5.tar.gz.

File metadata

  • Download URL: IPFML-0.0.5.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for IPFML-0.0.5.tar.gz
Algorithm Hash digest
SHA256 d336f54dd7f3ad28de034dbc0459aae6c44b379a8fc39f7a6af4543eaaded3e0
MD5 8661ebcb9b22ee5bf9d4d82439360e82
BLAKE2b-256 4ac38da7b3c1394287327a8f58e032f8348e34ca19d4e0b249ddfeecc9893f36

See more details on using hashes here.

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