streamlit-image-juxtapose

A simple Streamlit Component to compare images in Streamlit apps using Knightlab's JuxtaposeJS. The images are saved to the streamlit static directory then served via streamlit as an image overlay with an adjustable slider. Try on https://share.streamlit.io/robmarkcole/streamlit-image-juxtapose/main/app.py

usage-1

Development

  • Create and activate a venv: python3 -m venv venv and source venv/bin/activate
  • Install requirements: pip3 install -r requirements.txt
  • Run streamlit: streamlit run app.py

GitHub

https://github.com/robmarkcole/streamlit-image-juxtapose