Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nbimageviewer, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size nbimageviewer-0.1.0.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page