nbimageviewer

nbimageviewer is a Python library for rapid and efficient image visualization for Jupyter Notebooks.


Keywords
jupyter, notebook, visualization, images, image-viewer, image-visualization, jupyter-notebook, python3, reactjs
License
MIT
Install
pip install nbimageviewer==0.1.0

Documentation

nbimageviewer

nbimageviewer is a Python library for aesthetic and efficient image visualization in Jupyter Notebooks. It uses IPython, ReactJS, and WebSockets to efficiently visualize large amounts of images.

Carousel

Visualizing large amounts of images in a Jupyter Notebook is usually done by creating matplotlib plots, which can be a painful and inefficient process with lots of configuring and searching online.

import matplotlib.pyplot as plt
import load_images

images = load_images()
fig, ax = plt.subplots()
for i, image in enumerate(len(images)):
  ax[i] = plt.imshow(image)
  ...

nbimageviewer simplifies this process while providing convenient and beautiful visualizations.

import nbimageviewer.carousel as carousel
import load_images

images = load_images()
c = carousel.Carousel(images)

Installation

To install nbimageviewer from PyPI:

pip install nbimageviewer

To install nbimageviewer from source:

git clone git@github.com:briankosw/nbimageviewer.git
cd nbimageviewer
pip install .

Usage

nbimageviewer currently supports two ways of visualizing images: Carousel and Gallery.

Carousel

Carousel

Gallery

Gallery

License

Distributed under the MIT License. See LICENSE.txt for more information.