This tool compares different SLIC image segmentation methods using the Streamlit library. The user can adjust the parameters for the SLIC algorithm and see the resulting segmentation in real-time. The program also adds each superpixel segment into an array for further analysis or processing.
To use this tool, you'll need to install Python and the following libraries:
- Streamlit
- OpenCV
- Numpy
- fast-slic
- scikit-image
You can install these libraries using pip:
pip3 install numpy streamlit opencv-python fast-slic scikit-image
See the requirements.txt for the versions used in development if you have any issues.
To run the program, use the following command:
streamlit run main.py
This will launch a Streamlit server and open the program in your web browser. You can then adjust the parameters and see the segmentation in real-time.
Contributions to this project are welcome. To contribute, please fork this repository, make your changes, and submit a pull request.
This program is released under the MIT License. See the LICENSE file for more information.
This tool was created by @10XTMY, molmez.io.