[express] Clova Face Recognition 예제
router.get("/face2", async function (req, res) { const [one, two] = await Promise.all([celebrity(), recognition()]); console.log("유명인 인식", one); console.log("얼굴 감지", two); res.json({data1 : one, data2 : two}) }); // 유명인 인식 celebrity = () => { return new Promise((resolve, reject) => { request.post(options, function (error, response, result) { if (!error && response.statusCode == 200) { const a = ..