def getTuple(self):
        """ Returns the shape of the region as (x, y, w, h) """
        return (self.x, self.y, self.w, self.h)
def getTuple ( self ) : return ( self . x , self . y , self . w , self . h )
Returns the shape of the region as (x, y, w, h)