For explanation check out my article on medium
Python version 3.10.9
Libraries used:
- Numpy version 1.23.5
- Matplotlib version 3.5.2
- Pillow version 9.3.0
- Numpy is for scientific computing.
- Matplotlib is for plotting the result.
- Pillow is used to read the image from computer.
The used libraries are just for the convenience, all other operations are coded from scratch.
pip install -r requirements.txt
Have a good day 🙏