Extracts a part of the image specified by width and height from the given image file path using OpenCV.