1. Add image_ops.is_jpeg Op to decide if a input string is a jpeg string or not.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 13 Feb 2018 06:54:48 +0000 (22:54 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 13 Feb 2018 06:58:21 +0000 (22:58 -0800)
commitd9976e40c03eab6ed7a767ff7531d0b1aa870739
tree62f480b254d163abc3d7370e300f83b67479aeed
parenteec85cb5e4eac9764a34debccac0e70d37519b3d
1. Add image_ops.is_jpeg Op to decide if a input string is a jpeg string or not.
2. Change tfexample_decoder in slim/objection_detection to accept different JPEG decompression method.
Defaults to ""/None which maps to a system-specific default. Currently valid values are ["INTEGER_FAST", "INTEGER_ACCURATE"]. The hint may be ignored (e.g., the internal jpeg library changes to a version that does not have that specific option.)

PiperOrigin-RevId: 185486653
tensorflow/contrib/slim/python/slim/data/tfexample_decoder.py
tensorflow/python/ops/image_ops.py
tensorflow/python/ops/image_ops_impl.py
tensorflow/tools/api/golden/tensorflow.image.pbtxt