feat 更新响应模板

fix
This commit is contained in:
zhouchengrong
2024-06-17 11:00:04 +08:00
parent 5e9835a65c
commit e604ede039
5 changed files with 13 additions and 13 deletions

View File

@@ -11,7 +11,7 @@ import io
import logging
import time
import boto3
# import boto3
import cv2
import numpy as np
from PIL import Image
@@ -27,12 +27,12 @@ minio_client = Minio(
secret_key=MINIO_SECRET,
secure=MINIO_SECURE)
s3 = boto3.client(
's3',
aws_access_key_id=S3_ACCESS_KEY,
aws_secret_access_key=S3_AWS_SECRET_ACCESS_KEY,
region_name=S3_REGION_NAME
)
# s3 = boto3.client(
# 's3',
# aws_access_key_id=S3_ACCESS_KEY,
# aws_secret_access_key=S3_AWS_SECRET_ACCESS_KEY,
# region_name=S3_REGION_NAME
# )
def positioning(all_mask_shape, mask_shape, offset):