摘要:
1 import tensorflow as tf 2 import matplotlib.pyplot as plt 3 4 image_raw_data = tf.gfile.GFile("./picture.jpg", "rb").read() 5 with tf.Session() as sess: 6 """ 7 图像编码解码处理 8 ... 阅读全文
摘要:
使用语句: 读取图像时报错如下: 原因: 0x92 即 10010010,UTF8 中编码一个字符的第一个字节(start byte)只可能是 0xxxxxxx、110xxxxx、1110xxx、11110xxx……而后面的字节只可能是 10xxxxxx。也就是说 0x92 只能作为后面的字节,却出 阅读全文