Please guide how should I find the background window dimensions/size during the detection of oil spill