Fireship · @fireship

Seefood - Ionic + Firebase + Cloud Vision

Uploaded January 30, 2018 · Length 10:31

Seefood - Ionic + Firebase + Cloud Vision

Summary

build a mobile app with ionic firebase and google cloud vision for image labeling and hot dog detection

  • ionic firebase
  • google cloud vision
  • image labeling
  • hot dog detection
  • mobile app development
  • deep learning
  • firebase functions

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    [Music]

  2. 0:01

    today I'm going to take you from zero to

  3. 0:04

    a deep learning powered mobile app with

  4. 0:06

    ionic firebase and Google Cloud vision

  5. 0:08

    you might have seen this out before it's

  6. 0:10

    ready please

  7. 0:14

    [Music]

  8. 0:23

    ha ha just do pizza yeah hey Zach not

  9. 0:34

    hot dog wait what the and not only

  10. 0:39

    will our app be able to detect hot dogs

  11. 0:41

    but it can also label any image using

  12. 0:43

    Google's deep learning infrastructure

  13. 0:45

    and it's actually a lot more

  14. 0:47

    sophisticated than you might think as

  15. 0:48

    you can see here if we upload a hot dog

  16. 0:51

    it correctly labels it as such but what

  17. 0:54

    happens if we try to trick it by sending

  18. 0:55

    it a picture of a pug in a hot dog

  19. 0:57

    costume it's smart enough to know that

  20. 0:59

    that's not an actual hot dog and labels

  21. 1:02

    it instead as a pug if you like building

  22. 1:05

    cool apps make sure to subscribe and

  23. 1:06

    follow along with the source code at

  24. 1:08

    angular firebase comm let's take a

  25. 1:10

    closer look at how this works the user

  26. 1:13

    will upload an image from our ionic app

  27. 1:15

    to firebase storage that's going to

  28. 1:17

    invoke a cloud function which will send

  29. 1:19

    the image to the Google vision API it

  30. 1:22

    does it's deep learning magic and

  31. 1:23

    converts the image into a set of labels

  32. 1:25

    we save those labels in fire store so

  33. 1:28

    they can be read in our front-end ionic

  34. 1:30

    app in real time to get started with

  35. 1:32

    this project you'll first want to start

  36. 1:34

    a new ionic app using the blank template

  37. 1:37

    then CD into your project and run

  38. 1:40

    firebase and net functions this will

  39. 1:42

    associate your project with firebase and

  40. 1:45

    create a folder called functions and the

  41. 1:47

    root of the project and make sure to

  42. 1:49

    select typescript when prompted for that

  43. 1:51

    option after that you're going to want

  44. 1:54

    to CD into the functions directory and

  45. 1:56

    then we're going to install the Google

  46. 1:58

    Cloud vision library cloud vision is a