Class TensorflowImageRecParser

java.lang.Object
org.apache.tika.parser.AbstractParser
org.apache.tika.parser.external.ExternalParser
org.apache.tika.parser.recognition.tf.TensorflowImageRecParser
All Implemented Interfaces:
Serializable, Initializable, Parser, ObjectRecogniser

public class TensorflowImageRecParser extends ExternalParser implements ObjectRecogniser
This is an implementation of ObjectRecogniser powered by Tensorflow convolutional neural network (CNN). This implementation binds to Python API using ExternalParser.
// NOTE: This is a proof of concept for an efficient implementation using JNI binding to Tensorflow's C++ api.


b>Environment Setup:

  1. Python must be available
  2. Tensorflow must be available for import by the python script. Setup Instructions here
  3. All dependencies of tensor flow (such as numpy) must also be available. Follow the image recognition guide and make sure it works

Since:
Apache Tika 1.14
See Also: