Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Amazon RekognitionとAlexaを使ったいい感じのスマート顔認証システムを考えてみる

chao2suke
April 22, 2018

Amazon RekognitionとAlexaを使ったいい感じのスマート顔認証システムを考えてみる

2018/04/22 JAWS-UG 福岡 登壇資料

chao2suke

April 22, 2018
Tweet

More Decks by chao2suke

Other Decks in Technology

Transcript

  1. " N B [ P O  3 F L

    P H O J U J P O ה " M F Y B ׾ ⢪ ׏ ׋  ְ ְ 䠬 ׄ ך أ و ٦ ز 겣 钠 鏾 ء أ ذ ي ׾ 罋 ִ ג ׫ ׷ Classmethod. Inc, ͤʔͷ  
  2. AlexaͷϝϦοτ/σϝϦοτ Automated Speech Recognition (ASR) Natural Language Understanding (NLU) Text

    to Speech Engine (TTS) Machine Learning ػցֶश ࣗಈԻ੠ೝࣝ ࣗવݴޠཧղ Ի੠߹੒
  3. A l e x a ͷ ϝ Ϧ ο τ

    / σϝ Ϧ ο τ 䩛 鯪 A P I 鸬 䵿 醱 侧 أ ذ ح ف 醱 侧 Ⳣ 椚
  4. A l e x a ͷ ϝ Ϧ ο τ

    / σϝ Ϧ ο τ ؎ ٝ ف ح ز ָ 蕱 䩛 ঎ ඼ ൪ ߸ ⡝ 䨽 ٥ 5 & - ⦐ ➂ 钠 鏾
  5. A l e x a ͷ ϝ Ϧ ο τ

    / σϝ Ϧ ο τ ؎ ٝ ف ح ز ָ  蕱 䩛 갈 㡮 ⟃ 㢩 ד  ؎ ٝ ف ح ز ׅ ׷
  6. A l e x a ͷ ϝ Ϧ ο τ

    / σϝ Ϧ ο τ V O I C E F I R S T ر ٦ ة ׾ ف ٦ ٕ ׅ ׷  ➬ 穈 ׫ ָ 䗳 銲
  7. إ ೝ ূ γε ςϜ ͷ ࢓ ૊ Έ Λ

    ߟ ͑Δ 겣 钠 陎 겣 钠 鏾 겣 ر ٦ ة
  8. K i n e s i s V i d

    e o S t r e a m ͱ ͸
  9. K i n e s i s V i d

    e o S t r e a m ͱ ͸
  10. K i n e s i s V i d

    e o S t r e a m ͱ ͸ K I N E S I S D A T A S T R E A M K I N E S I S V I D E O S T R E A M
  11. K i n e s i s V i d

    e o S t r e a m ͱ ͸
  12. A m a z o n R e k o

    g n i t i o n ͱ ͸
  13. A m a z o n R e k o

    g n i t i o n ͱ ͸
  14. A m a z o n R e k o

    g n i t i o n ͱ ͸
  15. A m a z o n R e k o

    g n i t i o n ͱ ͸
  16. A m a z o n R e k o

    g n i t i o n V i d e o ͱ ͸
  17. A m a z o n R e k o

    g n i t i o n V i d e o ͱ ͸
  18. K i n e s i s + R e

    k o g n i t i o n ؝ ٝ ء ُ ٦ و ٦ ف ٗ ر ُ ٦ ؟ ٦ , J O F T J T  7 J E F P  4 U S F B N 3 F L P H O J U J P O  7 J E F P , J O F T J T  % B U B  4 U S F B N 4 U S F B N  1 S P D F T T P S
  19. K i n e s i s + R e

    k o g n i t i o n + A l e x a ف ٗ ر ُ ٦ ؟ ٦ , J O F T J T  7 J E F P  4 U S F B N 3 F L P H O J U J P O  7 J E F P , J O F T J T  % B U B  4 U S F B N 4 U S F B N  1 S P D F T T P S 겣 ر ٦ ة
  20. C o l l e c t i o n

    ࡞ ੒ BXTSFLPHOJUJPODSFBUFDPMMFDUJPODPMMFDUJPOJE .Z$PMMFDUJPO=  \ $PMMFDUJPO"SOBXTSFLPHOJUJPOBQ OPSUIFBTUDPMMFDUJPO.Z$PMMFDUJPO  'BDF.PEFM7FSTJPO  4UBUVT$PEF ^
  21. C o l l e c t i o n

    ʹ ௥ Ճ BXTSFLPHOJUJPOJOEFYGBDFT= JNBHF\40CKFDU\#VDLFUKBXTVHGVLVPLB EFNP /BNFUTVZPTIJ+1(^^= DPMMFDUJPOJE.Z$PMMFDUJPO= EFUFDUJPOBUUSJCVUFT"--
  22. C o l l e c t i o n

    ʹ ௥ Ճ 'BDF3FDPSET< \ 'BDF%FUBJM\ $POGJEFODF  &ZFHMBTTFT\ $POGJEFODF  7BMVFGBMTF ^  4VOHMBTTFT\ $POGJEFODF  7BMVFGBMTF ^  (FOEFS\ $POGJEFODF  7BMVF.BMF ^
  23. C o l l e c t i o n

    ʹ ௥ Ճ &NPUJPOT< \ $POGJEFODF  5ZQF)"11: ^  \ $POGJEFODF  5ZQF4"% ^  \ $POGJEFODF  5ZQF$0/'64&% ^ >
  24. C o l l e c t i o n

    ʹ ௥ Ճ 'BDF\ #PVOEJOH#PY\ 8JEUI  5PQ  -FGU  )FJHIU ^  'BDF*EGD FECGBCFFFCGEG  $POGJEFODF  *NBHF*E FBDFDCBEDBDCC ^
  25. K i n e s i s V i d

    e o S t r e a m Λ ࡞ ੒
  26. K i n e s i s D a t

    a S t r e a m Λ ࡞ ੒
  27. S t r e a m P r o c

    e s s o r Λ ࡞ ੒ BXTSFLPHOJUJPODSFBUFTUSFBNQSPDFTTPS= OBNF.Z4USFBN1SPDFTTPS'PS$BN= JOQVU\,JOFTJT7JEFP4USFBN\"SO BSOBXTLJOFTJTWJEFPBQ OPSUIFBTUTUSFBN"NB[PO3FLPHOJUJPO 7JEFP4USFBN^^= TUSFBNQSPDFTTPSPVUQVU\,JOFTJT%BUB4USFBN \"SOBSOBXTLJOFTJTBQ OPSUIFBTUTUSFBN "NB[PO3FLPHOJUJPO"OBMZTZT4USFBN^^= SPMFBSOBSOBXTJBNSPMF "NB[PO3FLPHOJUJPO.Z%BUB4USFBN= TFUUJOHT\'BDF4FBSDI\$PMMFDUJPO*E .Z$PMMFDUJPO 'BDF.BUDI5ISFTIPME^^ \ 4USFBN1SPDFTTPS"SOBSOBXTSFLPHOJUJPOBQ OPSUIFBTUTUSFBNQSPDFTTPS .Z4USFBN1SPDFTTPS'PS$BN ^
  28. S t r e a m P r o c

    e s s o r Λ ֬ ೝ BXTSFLPHOJUJPOEFTDSJCFTUSFBNQSPDFTTPSOBNF .Z4USFBN1SPDFTTPS'PS$BN \ 4UBUVT45011&%  /BNF.Z4USFBN1SPDFTTPS'PS$BN  -BTU6QEBUF5JNFTUBNQ  4FUUJOHT\ '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[E('UD$*.4.K2Z05&/%"Y/[M'04XJ3O+IC871;N;[;93+CM /M:V;).J0K"V.)-$+5E)+M:82DNK;9/[C++CN;WDNIE(MWCJ* FZ+5˘˘˘˘˘˘˘˘ ]CBTFEFDPEF
  37. ί ϯ γ ϡ ʔϚʔ Λ ࣮ ૷ \ *OQVU*OGPSNBUJPO\

    ,JOFTJT7JEFP\ 4USFBN"SOBSOBXTLJOFTJTWJEFPBQ OPSUIFBTUTUSFBN"NB[PO3FLPHOJUJPO 7JEFP4USFBN  'SBHNFOU/VNCFS   4FSWFS5JNFTUBNQ  1SPEVDFS5JNFTUBNQ  'SBNF0GGTFU*O4FDPOET ^ ^
  38. ί ϯ γ ϡ ʔϚʔ Λ ࣮ ૷ .BUDIFE'BDFT< \

    4JNJMBSJUZ  'BDF\ #PVOEJOH#PY\ )FJHIU  8JEUI  -FGU  5PQ ^  'BDF*EGD FECGBCFFFCGEG  $POGJEFODF  *NBHF*E FBDFDCBEDBDCC ^ ^
  39. C o l l e c t i o n

    ʹ ௥ Ճ 'BDF\ #PVOEJOH#PY\ 8JEUI  5PQ  -FGU  )FJHIU ^  'BDF*EˑGD FECGBCFFFCGEG խխֿ׸ה♧荜 $POGJEFODF  *NBHF*E FBDFDCBEDBDCC ^
  40. K i n e s i s + R e

    k o g n i t i o n + A l e x a ف ٗ ر ُ ٦ ؟ ٦ , J O F T J T  7 J E F P  4 U S F B N 3 F L P H O J U J P O  7 J E F P , J O F T J T  % B U B  4 U S F B N 4 U S F B N  1 S P D F T T P S 겣 ر ٦ ة