vision.startFaceAnalysis - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki

gigagenie.vision.startFaceAnalysis

API μ„€λͺ…

  • μ˜μƒμΈμ‹ μ„œλΉ„μŠ€ μ‹œμž‘ API
  • Camera κ°€ λΆ€μ°©λœ GiGA Genieμ—μ„œ μ˜μƒμΈμ‹ μ„œλΉ„μŠ€λ₯Ό μ‹œμž‘ν•¨
  • μ˜μƒμΈμ‹ μ„œλΉ„μŠ€κ°€ μ‹œμž‘λ˜λ©΄ vision.onFaceAnalysisResult 에 μ˜μƒμΈμ‹μ •λ³΄ Eventκ°€ 올라옴

API ꡬ쑰

  • function startFaceAnalysis(options,callback)
  • options
    • null
  • result_cd
    • 200: 성곡
    • 500: μ‹œμŠ€ν…œ Error
  • extra
    • null

μ‚¬μš© μ˜ˆμ‹œ

// callback
gigagenie.vision.startFaceAnalysis(null, function (result_cd, result_msg, extra) {
    if (result_cd === 200) {
        console.log("startFaceAnalysis Success");
    } else {
        console.log("startFaceAnalysis Fail");
    }
});