A smart cropping tool using face recognition based on OpenCV