This pull request is to speed up the computation of glass_blur using numba (https://numba.pydata.org/numba-doc/latest/user/5minguide.html). Since, the glass_blur had only numpy and loop based computations, I was able to move it to a separate method with @njit decorator improving the speed significantly. I also have added the requirements.txt and the setup.py is also updated and have added a demo file to test the same.
This pull request is to speed up the computation of glass_blur using numba (https://numba.pydata.org/numba-doc/latest/user/5minguide.html). Since, the glass_blur had only numpy and loop based computations, I was able to move it to a separate method with
@njit
decorator improving the speed significantly. I also have added the requirements.txt and the setup.py is also updated and have added a demo file to test the same.Steps done to run is:
Results obtained: