made use of openCV libraries