Hot answers tagged

1

I did this implementation, #img = [w,h,c] numpy array of image out = img == [0,0,0] np.sum(np.sum(out,axis=1) == 3) Its working. Let me know in case we can optimized it further.


Only top voted, non community-wiki answers of a minimum length are eligible