THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Table of Contents |
---|
Tika and Computer Vision - Image Captioning
...
Description of parameters :
Param Name | Type | Meaning | Range | Example |
apiBaseUri | uri | HTTP URL that will be used to create apiUri & healthUri | any HTTP URL | http://localhost:8764/inception/v3 |
captions | int | Number of captions to output | a non-zero positive integer | 3 to recieve 3 captions |
maxCaptionLength | int | Maximum length of a caption | a non-zero positive integer(recommended >=15) | for 15 the sentence length of a caption won't be greater than 15 |
class | string | Name of class that Implements Object recognition Contract | constant string | org.apache.tika.parser.recognition.tf.TensorflowRESTCaptioner |
Step 3. Demo
$ java -jar tika-app/target/tika-app-1.17-SNAPSHOT.jar \ --config=tika-parsers/src/test/resources/org/apache/tika/parser/recognition/tika-config-tflow-im2txt-rest.xml \ https://upload.wikimedia.org/wikipedia/commons/f/f6/Working_Dogs%2C_Handlers_Share_Special_Bond_DVIDS124942.jpg
...