seam-carving icon indicating copy to clipboard operation
seam-carving copied to clipboard

Possible Speedup

Open eladmw opened this issue 2 years ago • 1 comments

This library is not as fast as preferred, so I have a suggestion. you could use numba or jit to speedup your functions, I'll make my own version and submit a pull request soon.

eladmw avatar Oct 04 '21 21:10 eladmw

It is definitely possible. Any pull request is welcome!

li-plus avatar Oct 05 '21 16:10 li-plus

Thanks for your advice. I have implemented an accelerated version using numba jit and gained a 4x end-to-end speedup for forward energy and 2x for backward energy (#4). You may try out the new version seam-carving==1.1.0 for further speedup.

Closing this issue. Feel free to re-open it if you got any problem.

li-plus avatar Nov 12 '22 09:11 li-plus