|
@@ -284,6 +284,8 @@ class AiView(View):
|
|
|
## 检查是否有符合条件的标签,并且返回标签坐标位置信息
|
|
|
def labelsCoords(self, user_detect_group, rekognition_res, image_size):
|
|
|
logger = logging.getLogger('info')
|
|
|
+ logger.info('user_detect_group:{},rekognition_res:{},image_size:{}'.format(user_detect_group, rekognition_res,
|
|
|
+ image_size))
|
|
|
labels = rekognition_res['Labels']
|
|
|
label_name = []
|
|
|
label_list = []
|
|
@@ -524,4 +526,4 @@ class AiView(View):
|
|
|
except Exception as e:
|
|
|
print(repr(e))
|
|
|
logger.info(repr(e))
|
|
|
- return repr(e)
|
|
|
+ return repr(e)
|