Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Tika and Computer Vision - Image Captioning

...

Description of parameters :


Param NameTypeMeaningRangeExample
apiBaseUriuriHTTP URL that will be used to create apiUri & healthUriany HTTP URLhttp://localhost:8764/inception/v3
captionsintNumber of captions to outputa non-zero positive integer3 to recieve 3 captions
maxCaptionLengthintMaximum length of a captiona non-zero positive integer(recommended >=15)for 15 the sentence length of a caption won't be greater than 15
classstringName of class that Implements Object recognition Contractconstant stringorg.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

...