Skip to content

slab14/ClassiPY

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClassiPY Images

Automatic Image labeler (for .JPG, .PNG, & .JPEG). Automagically adds the following to ALL images in a folder:

  • A classification banner.
  • The corresponding classification to the file name.
  • A small black border to the image.
  • [Optionally] The labeled images are all placed in a separate folder.

1️⃣ Installation

Requires Python3

Linux Requirements

  • Wand (Utilize pip3 install wand)

Windows Requirements

  • ImageMagick (Manually downloading the latest ImageMagick).

2️⃣ Usage

Required flags:

-I = /Path/to/orginal/images/
-C = U, CUI, or S

Optional flags:

-O = /newfolder

‼️ By default images will dump into the same directory as the originals UNLESS you specify the -O flag ‼️

3️⃣ Examples

Unclassified banners

python3 classiPY.py -I <image directory> -C U

CUI banners

python3 classiPY.py -I <image directory> -C CUI

Secret banners

python3 classiPY.py -I <image directory> -C S

CUI banner with output to a separate folder

python3 classiPY.py -I <image directory> -C CUI -O CUI_IMAGES

4️⃣ Whats it look like:

Orginal Images:


After classipy:


Separate Output:

python3 classiPY.py -I /Home/Downloads/screenshots1 -C S -O /Home/Desktop/SECRET_IMAGES

Notes

  • New - Works on both Windows & Linux. Feedback and suggestions welcome.

About

Automatic Image labeler

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%