/

Brady Hurlburt

/

microblog / numpy

November 22, 2019

Sometimes I think numpy ruined a perfectly good language.

intersection = ((pixels_0 < 255) & (pixels_1 < 255)).sum()