def image_crop(src, x1, y1, x2, y2):
    """
    Crop image from (x1, y1) to (x2, y2).

    Parameters
    ----------
    :param src: Input image in BGR format
    :param x1: Initial coordinates for image cropping
    :param y1: Initial coordinates for image cropping
    :param x2: End coordinates of image cropping
    :param y2: End coordinates of image cropping
    """
    return src[x1:x2, y1:y2]