First time here? Check out the FAQ!
answered 2016-12-31 11:16:13 -0600
(cv2.countNonZero(image) == 0)
http://docs.opencv.org/2.4/modules/core/doc/operations_on_arrays.html#countnonzero