如何在amazons3中添加集合中的项目?

2024-06-25 22:58:05 发布

您现在位置:Python中文网/ 问答频道 /正文

我有创建数据收集的代码:

import boto3

def createCollection():
        cliente = boto3.client('rekognition')
        respuesta = cliente.create_collection (CollectionId = 'Fotos')
        print (respuesta)

createCollection()

但我的问题是如何在这个集合中添加一个项目。 你能帮帮我吗。 谢谢。你知道吗


Tags: 数据代码importclientdefcreateboto3collection