4 顔特徴と画像
Mercury Cloudにおいて、顔を含む画像の処理方法について記載しています。
4.1 顔特徴
4.2 画像エンコーディング
def base64_encode_file(file_path):
handle = open(file_path, "rb")
raw_bytes = handle.read()
handle.close()
return base64.b64encode(raw_bytes).decode("utf-8")$ base64 file_path4.3 画像の基準
Last updated
Was this helpful?