이개외않되/AWS
[AWS] Rekognition을 사용해보장
😺 오늘 진행한것 rekognition 구현 🐋 잘된것 rekognition 구현 성공 app.post('/upload', upload.single('image'), async (req, res) => { try { const imageBytes = req.file.buffer; const params = { Image: { Bytes: imageBytes }, MaxLabels: 10, // 최대 레이블 수 MinConfidence: 70 // 레이블이 신뢰도 이상일 때만 반환 }; const command = new DetectLabelsCommand(params); const data = await rekognitionClient.send(command); const labels = data.Lab..
2023. 8. 31. 09:02