Slide 1

Slide 1 text

AI & JavaScript No you’re not dreaming

Slide 2

Slide 2 text

AI & JavaScript No you’re not dreaming

Slide 3

Slide 3 text

@yashints Or is it? 

Slide 4

Slide 4 text

Lead consultant @TelstraPurple Yaser Adel Mehraban @yashints yashints.dev

Slide 5

Slide 5 text

Why do it in browser? Wide distribution Interactive Sensors Data stays on the client

Slide 6

Slide 6 text

@yashints https://playground.tensorflow.org

Slide 7

Slide 7 text

@yashints Tensorflow.js

Slide 8

Slide 8 text

@yashints Allows inference and training entirely in the browser or Node.js Released March 2018 GPU-accelerated via WebGL TensorFlow.js

Slide 9

Slide 9 text

@yashints Build your own Run existing models Retrain with transfer learning

Slide 10

Slide 10 text

@yashints TF TPU TF GPU Core API WebGL Layers API Model Browser Node.js TF CPU Keras Model Tensorflow Saved models

Slide 11

Slide 11 text

@yashints Pre-trained models https://github.com/tensorflow/tfjs-models • MobileNet Object detection • PoseNet Human pose detection • CocoSSD Object localisation • BodyPix Human segmentation • USE Text classification

Slide 12

Slide 12 text

@yashints Browser examples

Slide 13

Slide 13 text

@yashints BodyPix demo

Slide 14

Slide 14 text

@yashints

Slide 15

Slide 15 text

@yashints Creatability yas.fyi/2Zl4N2p

Slide 16

Slide 16 text

@yashints Airbnb

Slide 17

Slide 17 text

@yashints Speech command

Slide 18

Slide 18 text

@yashints

Slide 19

Slide 19 text

@yashints aijs.rocks Asim Hussain � @jawache

Slide 20

Slide 20 text

@yashints Node.js & Desktop

Slide 21

Slide 21 text

@yashints yas.fyi/2LUfBkX Magenta Studio

Slide 22

Slide 22 text

@yashints Retraining in Node.js

Slide 23

Slide 23 text

@yashints Retraining in Node.js

Slide 24

Slide 24 text

@yashints Demo

Slide 25

Slide 25 text

@yashints

Slide 26

Slide 26 text

@yashints “With Tensorflow.js and web, possibilities are endless, web development doesn’t have to be boring” “

Slide 27

Slide 27 text

@yashints References https://www.tensorflow.org/js https://github.com/tensorflow/tfjs-examples https://www.freecodecamp.org/news/tensorflowjs-full-course/ https://codelabs.developers.google.com/ https://yashints.dev/blog/2018/11/27/get-started-with-tensorflowjs Slides https://yas.fyi/2MxNh7z

Slide 28

Slide 28 text

Reach out Thanks! @yashints yashints.dev