Skip to content

Changing properties of images on Jupyter Notebook, with live view

License

Notifications You must be signed in to change notification settings

monajemi-arman/jupyter_image_editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jupyter Image Editor

What is it?

Basic batch image editor built in Jupyter with its native sliders

Why?

General Purpose

  • Quickly generate a large sum of enhanced images
  • JSON is also generated with the values chosen in the sliders, suitable for AI model training

Original Purpose

This tool was used to generate better looking images of retinal images in infants. It has been demonstrated that this procedure significantly increases the visibility of poor quality retinal images.

Features

  • Live preview of changes on the image
  • Easy and ready to use Jupyter Notebook
  • Easily modifiable for new changes on the image
  • Batch edit
  • JSON and JPG output

Usage

  1. Clone this directory and run Jupyter
    git clone https://github.com/monajemi-arman/jupyter_image_editor
    jupyter-notebook jupyter_image_editor.ipynb
  2. Run each cell until you reach the one starting with the following:
    # Run this block for every new folder
    
    image_dir = 'images'
  3. Change image_dir to the directory path your images are located in
  4. Use the sliders to change the image as you wish
  5. Click on Save Image (no need to click on Save JSON after each image)
  6. When you have finished editing all the images in the directory, click on Save JSON.
  • The JSON contains the values of the sliders.

Demo

About

Changing properties of images on Jupyter Notebook, with live view

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published