def METHOD_NAME(
    self, image_file: str, image_uri: str, json_file: str = None
) -> Dict:
    """Annotate image
    :param image_file: source image file path
    :param image_uri: Google Cloud Storage URI
    :param json_file: json target to save result
    :return: detection response
    **Examples**
    **Robot Framework**
    .. code-block:: robotframework
        ${result}=   Annotate Image   image_file=${CURDIR}${/}test.png
        ...  json_file=${CURDIR}${/}result.json
    """
    parameters = self.set_image_type(image_file, image_uri)
    response = self.service.METHOD_NAME(**parameters)
    self.write_json(json_file, response)
    return response