An open API service indexing awesome lists of open source software.

https://github.com/2320sharon/Streamlit_Sniffer

A Streamlit app for sorting through imagery.
https://github.com/2320sharon/Streamlit_Sniffer

image-classification python streamlit

Last synced: about 1 year ago
JSON representation

A Streamlit app for sorting through imagery.

Awesome Lists containing this project

README

          

# Streamlit Sniffer 👑🐕
- A Python Streamlit app for sorting through imagery. Check it out [on Streamlit](https://share.streamlit.io/2320sharon/streamlit_sniffer/sniffer.py)

[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/2320sharon/streamlit_sniffer/sniffer.py)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[![Python 3.10](https://img.shields.io/badge/python-3.10-blueviolet.svg)](https://www.python.org/downloads/release/python-310/)

### Rate your Images with Sniffer
- Use a customizeable slider to rate your images

### Rate your Images with Sniffer with Yes/No Buttons

## How to Install Sniffer on Your Computer 🐕 :computer:
1. Open your terminal
2. Create an environment with Streamlit installed. See [Streamlit's instructions](https://docs.streamlit.io/library/get-started/installation#:~:text=Set%20up%20your%20virtual%20environment) for more details for your compouter.
3. Inside your virtual environment with streamlit install run either `pip install pillow` or if you're using an Anaconda conda environment use `conda install -c conda-forge pillow`.
4. You're done! 🎊

## How to Use Sniffer on Your Computer 🐕 🔧
1. Create an environment with Streamlit installed. See [Streamlit's instructions](https://docs.streamlit.io/library/get-started/installation#:~:text=Set%20up%20your%20virtual%20environment) for more details for your compouter.
2. Open your terminal

3. Go to the directory where you installed Sniffer
`cd `
4. Run `streamlit run sniffer.py`
5. Wait for it to open your browser and you're done! 🎊

## ✨ New Feature ✨ Resize Image Sliders

1. Check the Show Resize Controls checkbox to show the height and width sliders
2. Use the height and width sliders to choose height and width of your image
3. Check the Resize checkbox to resize your image instantly ⚡
4. Uncheck the Resize checkbox to restore your image to its original size

## ✨ New Feature ✨ New Slider to Numerically Rate Images


1. Under Choose Controls click the radio button that says `scale`
2. Change the minimum and maximum of the slider range by using the controls under `change slider range`
3. Use the slider to rate your image
4. Check `Next` to rate your image and save your rating to the csv file.

## ✨ Features ✨ Black Pixel Feature

1. Turn on the black pixel filter to filter out images with black pixels in your dataset
2. You can use the checkbox to see images that exceed the black pixel limit you set
3. The images that exceed the black pixel limit will not be shown (except the first one)

## Don't want to use Streamlit
- Check out the orignal version of [Sniffer 🐕](https://github.com/2320sharon/Sniffer) that you can download on you local computer

## Tips for Customization 🎨
1. Check out the offical [Streamlit Docs](https://docs.streamlit.io/) for adding cool components like dropdown menus and more!

## How to Install Streamlit
[Check out Streamlit's Instructions](https://docs.streamlit.io/library/get-started/installation)

## Disclaimers ⚠️
1. This version outputs all images as `.jpg`.