code: public INDArray asMatrix(ImageWritable writable) throws IOException {
          Mat image = converter.convert(writable.getFrame());
          return asMatrix(image);
      }
docs: Convert ImageWritable to INDArray
  
  @param writable ImageWritable to convert
  @return INDArray
  @throws IOException