update to use mean present in opencv