Small improvement to AWS-Rekognition integration

This commit is contained in:
Jan Oberhauser 2020-10-13 09:33:19 +02:00
parent 49113a1988
commit 6f98caf748
2 changed files with 5 additions and 1 deletions

View file

@ -297,7 +297,11 @@ export class AwsRekognition implements INodeType {
if (type === 'detectFaces') {
action = 'RekognitionService.DetectFaces';
property = 'FaceDetails';
// TODO: Add a later point make it possible to activate via option.
// If activated add an index to each of the found faces/tages/...
// to not loose the reference to the image it got found on if
// multilpe ones got supplied.
// property = 'FaceDetails';
if (additionalFields.attributes) {
body['Attributes'] = additionalFields.attributes as string;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB