numpy.argmin() alternative

While there are some interesting conversations about numpy.argmin() function’s performance (e.g. here, here and here),

Python reverse and splice a tuple

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters """ About: img is an OpenCV 2 object. img.shape prints a tuple as (height, width, channels)Continue reading “Python reverse and splice a tuple”