3

I would like to use geotif image as input data in a tensor flow or keras.

I know that tensorflow does not support tif.

So I tried using gdal to make it into a raster image, but it failed.

Please let me know if there is a way to put geotif in tensorflow or keras in python.

송준석
  • 991
  • 1
  • 16
  • 32
  • TIFF is just a raster image format, you just need to load it and give it as input. If you have problems you have to be specific with them in your question. – Dr. Snoopy May 17 '18 at 06:42
  • Not sure if you will get a distorted image, but you could try Pillow, or cv2 for instance, instead of gdal. – Daniel Möller May 17 '18 at 11:43
  • pixesl dtype is float32 so using gdal get ratser images in numpy array. but i want to convolution images detection. but dtype error is occur. – 송준석 May 18 '18 at 05:13
  • also each of pixels info is important so i can't convert any other type images. – 송준석 May 18 '18 at 05:14

0 Answers0