function hasGetUserMedia() {
  return !!(navigator.mediaDevices &&
    navigator.mediaDevices.getUserMedia);
}
*****************************************************************
// Continuously grab image from webcam stream and classify it.
******************************************************************