PixelLens is a free and fully open source PyCharm plugin designed to enhance the image visualization capabilities while debugging NumPy, OpenCV, PyTorch, TensorFlow, JAX or Pillow (PIL) image data.
PixelLens is capable of displaying 1D, 2D, 3D or 4D data by right clicking any supported variable in the debugger and selecting View as Image.
- View NumPy, OpenCV, PyTorch, TensorFlow, JAX and Pillow (PIL) data as image
- View entire batches (fourth dimension) or individual channels of the data
- Apply value normalization or Viridis colormap for better visibility
- Transpose dimensions (CHW ↔ HWC) or reverse channels (RGB ↔ BGR)
- Save or copy the displayed image for easy sharing
-
Get it from the JetBrain Marketplace
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "PixelLens" > Install
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
This project is licensed under the GPLv3 license.