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
ArguementsData_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
    ArguementsIMG_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
    ArguementsIMG_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.4.tar.gz (2.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: PixelP-0.4.tar.gz
  • Upload date:
  • Size: 2.3 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.4.tar.gz
Algorithm Hash digest
SHA256 e54ba3133be82445cec74458420e0c51b1fb307f678cd59b059f825e134b767f
MD5 859ef472a346b5327fdfccac1f2e2de6
BLAKE2b-256 dba7db8b2bbf6b0cb8f68aa267c24ec5f3ff8d0ec6483ee4a42554844fc2ae4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page