def METHOD_NAME(img_file: str):
    with open(img_file, "rb") as f1, open(img_file, "rb") as f2:
        form = aiohttp.FormData()
        form.add_field("original", f1.read(), content_type="image/bmp")
        form.add_field("compared", f2.read(), content_type="image/bmp")
    yield form