title: Tensorflow Object Detection API model for use in TensorFlow.js
body: <p>I am trying to use an object detection model, that was created using the TF Object Detection API, in TensorFlow.js. </p>
  
  <p>I converted the model using:</p>
  
  <p>tensorflowjs_converter --input_format=tf_saved_model inference_graph/saved_model inference_graph/web_model</p>
  
  <p>It gets converted without any problems and loads in my javascript code. 
  Now I am a bit unsure about what my next steps should be. 
  I have to translate the Python into JavaScript, but certain areas I am unsure about.</p>
  
  <p>With the object detection API in python, there are many steps; (1)preprocessing the image, such as convert to RGB, numpy array reshape, expand dimensions (I have an idea of how I would approach it) and (2) the run inference for single image function, I am not sure how I would go about it in tensorflow.js.</p>
  
  <p>I tried to find some general information about deploying an object detection model in tensorflow.js, but I could not find much, except with pre-trained models.</p>
  
  <p>Any information about this topic would be great!
  Thanks!</p>