OpenCV Image to TensorFlow Tensor
A problem that I needed to solve today at work was how to import a single color image in OpenCV format with variable X-, Y-size dimensions into a TensorFlow Inception V4 model with dimensions (x, 299, 299, 1) for prediction. The dimension (299, 299, 3) is a color image, while Read more…