diff --git a/import.js b/import.js index 1808dba..daf782f 100644 --- a/import.js +++ b/import.js @@ -53,7 +53,7 @@ function indexFaces() { var bitmap = fs.readFileSync(file.path); rekognition.indexFaces({ - "CollectionId": collectionName, + "CollectionId": config.collectionName, "DetectionAttributes": [ "ALL" ], "ExternalImageId": name, "Image": { @@ -117,4 +117,4 @@ function DetectLabelsTest(imagePath) } createCollection(); -indexFaces(); \ No newline at end of file +indexFaces();