description:'If the image to analize should be taken from binary field.',
},
{
displayName:'Binary Property',
displayOptions:{
show:{
operation:[
'analyze'
],
resource:[
'image',
],
binaryData:[
true,
],
},
},
name:'binaryPropertyName',
type:'string',
default:'data',
description:'Object property name which holds binary data.',
required: true,
},
{
displayName:'Bucket',
name:'bucket',
displayOptions:{
show:{
operation:[
'analyze'
],
resource:[
'image',
],
binaryData:[
false,
],
},
},
type:'string',
default:'',
required: true,
description:'Name of the S3 bucket',
},
{
displayName:'Name',
name:'name',
displayOptions:{
show:{
operation:[
'analyze'
],
resource:[
'image',
],
binaryData:[
false,
],
},
},
type:'string',
default:'',
required: true,
description:'S3 object key name',
},
{
displayName:'Additional Fields',
name:'additionalFields',
type:'collection',
placeholder:'Add Field',
displayOptions:{
show:{
operation:[
'analyze',
],
resource:[
'image',
],
},
},
default:{},
options:[
{
displayName:'Version',
name:'version',
displayOptions:{
show:{
'/binaryData':[
false,
],
},
},
type:'string',
default:'',
description:'If the bucket is versioning enabled, you can specify the object version',
},
{
displayName:'Max Labels',
name:'maxLabels',
type:'number',
displayOptions:{
show:{
'/type':[
'detectModerationLabels',
'detectLabels',
],
},
},
default:0,
typeOptions:{
minValue: 0,
},
description:`Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels.`,
},
{
displayName:'Min Confidence',
name:'minConfidence',
type:'number',
displayOptions:{
show:{
'/type':[
'detectModerationLabels',
'detectLabels',
],
},
},
default:0,
typeOptions:{
minValue: 0,
maxValue: 100,
},
description:`Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.`,
},
{
displayName:'Attributes',
name:'attributes',
type:'multiOptions',
displayOptions:{
show:{
'/type':[
'detectFaces',
],
},
},
options:[
{
name:'All',
value:'all',
},
{
name:'Default',
value:'default',
},
],
default:[],
description:`An array of facial attributes you want to be returned`,