Class TensorflowRESTVideoRecogniser
- java.lang.Object
-
- org.apache.tika.parser.recognition.tf.TensorflowRESTRecogniser
-
- org.apache.tika.parser.recognition.tf.TensorflowRESTVideoRecogniser
-
- All Implemented Interfaces:
Initializable
,ObjectRecogniser
public class TensorflowRESTVideoRecogniser extends TensorflowRESTRecogniser
Tensor Flow video recogniser which has high performance. This implementation uses Tensorflow via REST API.NOTE : https://wiki.apache.org/tika/TikaAndVisionVideo
- Since:
- Apache Tika 1.15
-
-
Field Summary
-
Fields inherited from class org.apache.tika.parser.recognition.tf.TensorflowRESTRecogniser
apiBaseUri, apiUri, available, healthUri, LABEL_LANG, minConfidence, topN
-
-
Constructor Summary
Constructors Constructor Description TensorflowRESTVideoRecogniser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URI
getApiUri(Metadata metadata)
void
initialize(Map<String,Param> params)
This is the hook for configuring the recogniser-
Methods inherited from class org.apache.tika.parser.recognition.tf.TensorflowRESTRecogniser
checkInitialization, getSupportedMimes, isAvailable, recognise
-
-
-
-
Method Detail
-
getApiUri
protected URI getApiUri(Metadata metadata)
- Overrides:
getApiUri
in classTensorflowRESTRecogniser
-
initialize
public void initialize(Map<String,Param> params) throws TikaConfigException
Description copied from interface:ObjectRecogniser
This is the hook for configuring the recogniser- Specified by:
initialize
in interfaceInitializable
- Specified by:
initialize
in interfaceObjectRecogniser
- Overrides:
initialize
in classTensorflowRESTRecogniser
- Parameters:
params
- configuration instance in the form of context- Throws:
TikaConfigException
- when there is an issue with configuration
-
-