opencv dependency make it bloated because it only needs resize and resample module. alternative solution: 1. use numpy with numba