Skip to main content

Image augmeantation and preprocessing tool

Project description

Overview: PixelP (PixelProcessor) is an image augmentation and preprocessing package.This tool has 3 functions idg,create_gray_data and create_color_data

1.idg():Augments new images Arguements : Data_path - Path to source folder CATEGORIES - Name of folders inside parent source folder Data_out - Path to output folder rotrange - Rotation range varying from 0-360 wshift - Width shift 0-1 hshift - Height shift 0-1 srange - Shear Range 0-1 zoom - Zoom Range 0.1 hflip - horizontal flip TRUE or FALSE fill - Fill Mode 'wrap','nearest','constant','reflect'

  1. create_gray_data():Turns image to grayscale and reshapes to user defined size Arguements : IMG_SIZE - no. of pixels (pixel x pixel) training_data - empty list [] Data_train - Path to images CATEGORIES - Name of folders inside parent source folder

  2. create_color_data():reshapes to user defined size Arguements : IMG_SIZE - no. of pixels (pixel x pixel) training_data - empty list [] Data_train - Path to images CATEGORIES - Name of folders inside parent source folder

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

PixelP-0.5.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file PixelP-0.5.tar.gz.

File metadata

  • Download URL: PixelP-0.5.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for PixelP-0.5.tar.gz
Algorithm Hash digest
SHA256 8b4b4f2aee0941de50b027e8b0359ab695166b5386470524871ef91a9e8aa125
MD5 242aacb934ad35602eb4fd5941769442
BLAKE2b-256 7bf4fa056fde242f12ed6a2eda61579825329877910e842f6d6fe8a9da90b4c2

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