Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
20240926 顔を検出する
Search
saka
December 23, 2025
10
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20240926 顔を検出する
saka
December 23, 2025
More Decks by saka
See All by saka
20250304 関数型DDD 6
sakatttttta
0
25
20241219 Github Actionsの面倒いところ
sakatttttta
0
18
20250109 関数型
sakatttttta
0
11
20250116 関数型DDD 2
sakatttttta
0
11
20250123 関数型DDD 3
sakatttttta
0
11
20250206 関数型DDD 4
sakatttttta
0
11
20250213 関数型DDD 4
sakatttttta
0
12
20250220 Hono カスタムfetch
sakatttttta
0
10
20250225 関数型DDD 5
sakatttttta
0
9
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
540
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Claude Code のすすめ
schroneko
67
230k
Code Review Best Practice
trishagee
74
20k
Bash Introduction
62gerente
615
220k
BBQ
matthewcrist
90
10k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
So, you think you're a good person
axbom
PRO
2
2.2k
A designer walks into a library…
pauljervisheath
211
25k
Transcript
إΛݕग़͢Δ
Azure Face API
إݕग़ੳ
Γํ • Azureܖ • Face APIΩʔͱΤϯυϙΠϯτ औಘ
ଓ͖ • Node.jsͰαϯϓϧίʔυΛಈ͔ ͢
const detectFromImage = async () => { const endpoint =
"https://tatsuya-face.cognitiveservices.azure.com/"; const apikey = "7c7ee600133d40e48f6adb40011c5ab1"; const credential = new AzureKeyCredential(apikey); const client = createFaceClient(endpoint, credential); const filename = "data/01.jpg"; const response = await client.path("/detect").post({ contentType: "application/octet-stream", queryParameters: { detectionModel: "detection_03", recognitionModel: "recognition_04", returnFaceLandmarks: true, returnRecognitionModel: true, faceIdTimeToLive: 120, returnFaceAttributes: ["headPose", "mask", "qualityForRecognition"], returnFaceId: false, }, body: readFileSync(filename), }); if (isUnexpected(response)) { throw new Error(response.body.error.message); } console.log(`Detect from image: ${filename}`); console.log(JSON.stringify(response.body, null, 2)); };
node face.js
ͬͨࣸਅ
ੳ݁Ռ Detect from image: data/01.jpg [ { "faceRectangle": { "top":
233, "left": 703, "width": 381, "height": 485 }, "faceLandmarks": { "pupilLeft": { "x": 771.4, "y": 416.6 }, "pupilRight": { "x": 938.3, "y": 408.6
Figma
Face APIͰͰ͖Δ͜ͱ • إݕग़ • إೝࣝʢࣝผࣅͨإͳͲʣ