That is certain one route which uses our COCO-SSD model however if you wanted a mobile net example all my working code is available on Glitch.com 1 and Codepen.io 1 eg here:
Mobilenet:
  
      

      glitch.com
  

  
    

Glitch

  Combining automated deployment, instant hosting & collaborative editing, Glitch gets you straight to coding so you can build full-stack web apps, fast


  

  
    
    
  

  


Here I show how to apply to a single image and also webcam classification too. Mobilenet on its own tends to give interesting results so I much prefer to use COCO-SSD for object detection or retrain Mobilenet for specific things eg like TeachableMachine does. Anyhow my minimal COCO-SSD demo is here:

  
      

      glitch.com
  

  
    

Glitch

  Combining automated deployment, instant hosting & collaborative editing, Glitch gets you straight to coding so you can build full-stack web apps, fast