def get_frame_id(input_image_path):
    """Get the frame ID based on the file name.

    Returns the composite frame ID based on:
        - Cam ID
        - Date
        - Time

    Parameters
    -----------
    input_image_path: str
        Path of a given frame or image.

    Returns
    -------
    str
        Composite ID based on Cam, Date, and Time.
    """
    input_image_path = input_image_path.replace('--original', '')
    file_name = input_image_path.split('/')[-1]
    frame_id = "--".join(file_name.split("--")[0:3])
    return frame_id