for blur calculation of opencv video