A streamlit app to visualize images/video and apply basic image transformations to get some insights. The app is built on streamlit and on the backend, opencv functions are called to be applied on the image.
A video could be analysed with the following command
streamlit run app.py --data path_to_video_file
or a folder of images could also be viewed
streamlit run app.py --data path_to_folder_containing_images
There are a few requirements before we can fully start using the list
opencv
streamlit
numpy
glob
matplotlib
argparse
The repo has the following features to play with
This functions include some of the commonly used ones
- Conversion to Grayscale
- Conversion to HSV
- Displaying Histogram
- Histogram equalization
- Rotation of the image
It also provides simple thresholding functions that are part of the opencv. These can be applied to a specific channel and this can be chosen by the options.
There is a provision to apply some of the common filters like gaussian kernels or a median filter. Even kernel size could be adjusted.
Some of the common color transformations like contrast and brightness could be tweaked in the app.
Apart from basic thresholding, even some morphological transformations can also be visualized.