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

Report of Firebase Summit 2018

6eecc52120fba9d87d982684211182ec?s=47 mochico
November 21, 2018

Report of Firebase Summit 2018

Mercari x Merpay Tech Talk for Android Engineers - connpass : https://mercari.connpass.com/event/107293/
Firebase Summit 2018 in Prague / Czech Report and introduce MLKit

6eecc52120fba9d87d982684211182ec?s=128

mochico

November 21, 2018
Tweet

Transcript

  1. 3FQPSUPG'JSFCBTF4VNNJU JO1SBHVF$[FDI !NPDIJDP .FSDBSJY.FSQBZ5FDI5BMLGPS"OESPJE&OHJOFFST

  2. "CPVUNF NPDIJDP!@NPDIJDPO@ .FSDBSJ+11SPEVDU"OESPJE&OHJOFFS "OESPJE+BWB,PUMJO 5FDICPPTUFS䪮遭剅Ⱙ

  3. 厤傈厤䨽 'JSFCBTF莆㄂֮׷

  4. 厤傈厤䨽 'JSFCBTF莆㄂֮׷ 㱾ז✮䠬׃ַ׃זְז٥٥٥ ⼱ⴓֻ׵ְ٥٥٥

  5. 穗箮

  6. None
  7. 8IBUJT'JSFCBTF4VNNJU IUUQTSFCBTFHPPHMFDPNTVNNJU

  8. 'JSFCBTF'BNJMZ TFSWJDFT

  9. 'JSFCBTF4VNNJU

  10. "TL'JSFCBTF)BDL'JSFCBTF

  11. "QQ4IJQ4FMF1PSUSBJU4UBUJPO

  12. 8IBUˏTOFXJO'JSFCBTF ˖ ($1*OUFHSBUJPOT ˖ .BDIJOF-FBSOJOH ˖ 0QFO4PVSDF

  13. 8IBUˏTOFXJO'JSFCBTF ˖ ($1*OUFHSBUJPOT"OBMZUJDTך($1פך鸬䵿 ˖ .BDIJOF-FBSOJOH ˖ 0QFO4PVSDF

  14. 8IBUˏTOFXJO'JSFCBTF ˖ ($1*OUFHSBUJPOT"OBMZUJDTך($1פך鸬䵿 ˖ .BDIJOF-FBSOJOH.-,JUך刿倜ծ1SFEJDUJPO٥ "#5FTUJOH٥3FNPUF$POHזוך"*׾ⵃ欽׃׋堣 腉ך䭁䓸 ˖ 0QFO4PVSDF

  15. 8IBUˏTOFXJO'JSFCBTF ˖ ($1*OUFHSBUJPOT"OBMZUJDTך($1פך鸬䵿 ˖ .BDIJOF-FBSOJOH.-,JUך刿倜ծ1SFEJDUJPO٥ "#5FTUJOH٥3FNPUF$POHזוך"*׾ⵃ欽׃׋堣 腉ך䭁䓸 ˖ 0QFO4PVSDF'JSFCBTF4%,ךؔ٦فٝا٦أ⻉

  16. 鑫׃ֻכ⹛歗٥ـؚٗד w IUUQTpSFCBTFHPPHMFCMPHDPNXIBUTOFXBUpSFCBTF TVNNJUIUNM w IUUQTEFWFMPQFSTKQHPPHMFCMPHDPNXIBUTOFXBUpSFCBTF TVNNJUIUNM

  17. .-,JUVQEBUF

  18. 'JSFCBTF.-,JU ˖ 3FDPHOJ[FUFYU ˖ %FUFDUGBDFT ˖ 4DBOCBSDPEFT ˖ -BCFM*NBHFT ˖

    3FDPHOJ[FMBOENBSLT ˖ $VTUPNNPEFMT
  19. 3FDPHOJ[FUFYU

  20. 4DBOCBSDPEFT

  21. -BCFM*NBHFT

  22. 3FDPHOJ[FMBOENBSLT ˖ ז׿ַ׍׳׏ה䩛⯋דֲתֲֻ׀ַזְ ˖ 㢳ⴓ$MPVE"1*ך鏣㹀דז׿ַىأ׏ג׷

  23. %FUFDUGBDFT 'BDFDPOUPVSEFUFDUJPO̒/FX

  24. $VTUPNNPEFMT

  25. -FBSO'JSFCBTF.-,JUOFXGFBUVSF IUUQTDPEFMBCTEFWFMPQFSTHPPHMFDPNDPEFMBCTNMLJUBOESPJE

  26. EFQFOEFODJFT dependencies { implementation 'com.google.firebase:firebase-ml-vision:18.0.1' implementation 'com.google.firebase:firebase-ml-vision-image-label-model:17.0.2' implementation 'com.google.firebase:firebase-ml-vision-face-model:17.0.2' implementation

    'com.google.firebase:firebase-ml-model-interpreter:16.2.3' } apply plugin: 'com.google.gms.google-services'
  27. 6QEBUFCJMMJOHQMBOT

  28. None
  29. 5FYU3FDPHOJUJPO1SPDFTTPS class TextRecognitionProcessor : VisionProcessorBase<FirebaseVisionText>() { private val detector: FirebaseVisionTextRecognizer

    = FirebaseVision.getInstance().onDeviceTextRecognizer override fun detectInImage(image: FirebaseVisionImage): Task<FirebaseVisionText> { return detector.processImage(image) } override fun onSuccess( originalCameraImage: Bitmap, results: FirebaseVisionText, frameMetadata: FrameMetadata, graphicOverlay: GraphicOverlay ) }
  30. TFU5FYU3FDPHOJUJPO1SPDFTTPS import com.google.firebase.samples.apps.mlkit.common.CameraSource private var cameraSource: CameraSource? = null cameraSource.setMachineLearningFrameProcessor(TextRecognitionProcessor())

  31. %FNP

  32. &OKPZ'JSFCBTF ˖ 'JSFCBTFח莆㄂ָ׻ְ׋➂כ׈מⰕ䒭⹛歗ה#MPH׾ ׫גי ˖ .-,JU嚂׃ְךדׁ׻׏ג׫גי ˖ 'JSFCBTF$POTPMFד铬ꆃفٓٝחׅ׷ך⹃孡ְ׷

  33. MJOLT ˖ 'JSFCBTFIUUQTSFCBTFHPPHMFDPN ˖ 'JSFCBTF:PV5VCFIUUQTXXXZPVUVCFDPNVTFS'JSFCBTF ˖ (PPHMF%FWFMPQFST+BQBO'JSFCBTF4VNNJUד涪邌ׁ׸׋倜堣腉IUUQTEFWFMPQFST KQHPPHMFCMPHDPNXIBUTOFXBUSFCBTFTVNNJUIUNM ˖ 5IF'JSFCBTF#MPH8IBUˏTOFXBU'JSFCBTF4VNNJUIUUQTSFCBTFHPPHMFCMPHDPNXIBUT

    OFXBUSFCBTFTVNNJUIUNM ˖ 'JSFCBTF4VNNJUח⿫⸇׃גֹת׃׋'JSFCBTF4VNNJU.FSDBSJ&OHJOFFSJOH#MPHIUUQT UFDINFSDBSJDPNFOUSZ ˖ 'JSFTUPSFXJUI4FDVSJUZ'JSFCBTF4VNNJU3FQPSU%BZ4QFBLFS%FDLIUUQTTQFBLFSEFDLDPN LXBOLPSFTUPSFXJUITFDVSJUZSFCBTFTVNNJUSFQPSUEBZ ˖ 'JSFCBTF4VNNJU㜠デ⠓4QFBLFS%FDLIUUQTTQFBLFSEFDLDPNBNBHFFLSFCBTFTVNNJUCBP HBPIVJ ˖ 1SPQBHBUF3FNPUF$POHVQEBUFTJOSFBMUJNF4QFBLFS%FDLIUUQTTQFBLFSEFDLDPNE@EBUFQSPQBHBUF SFNPUFDPOHVQEBUFTJOSFBMUJNF ˖ '+6(5XJUUFS嗚稊IUUQTUXJUUFSDPNTFBSDI R'+6(
  34. &OKPZ'JSFCBTF