robmarkcole / streamlit-image-juxtapose

A simple Streamlit Component to compare images in Streamlit apps. It integrates Knightlab's JuxtaposeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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

Pip installable alternative

If you wish to pip install the functionality provided by this plugin checkout streamlit-image-comparison

References

About

A simple Streamlit Component to compare images in Streamlit apps. It integrates Knightlab's JuxtaposeJS

License:Apache License 2.0


Languages

Language:Python 100.0%