You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by Apache Wiki <wi...@apache.org> on 2018/02/18 04:34:46 UTC

[Tika Wiki] Update of "TikaAndVision" by preranathm

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tika Wiki" for change notification.

The "TikaAndVision" page has been changed by preranathm:
https://wiki.apache.org/tika/TikaAndVision?action=diff&rev1=15&rev2=16

Comment:
1. Fixed URL by changing parameter from topk to topn. 2. Added min_confidence parameter to URL. 3. Changed datasets to dataset in python import command.

  
  To test the readiness of your environment :
  
-   {{{$ python -c 'import tensorflow, numpy, datasets; print("OK")'}}}
+   {{{$ python -c 'import tensorflow, numpy, dataset; print("OK")'}}}
  
  If the above command prints the message "OK", then the requirements are satisfied.
  
@@ -115, +115 @@

  docker run -p 8764:8764 -it uscdatascience/inception-rest-tika
  }}}
  
- Once it is done, test the setup by visiting [[http://localhost:8764/inception/v4/classify/image?topk=2&url=https://upload.wikimedia.org/wikipedia/commons/f/f6/Working_Dogs%2C_Handlers_Share_Special_Bond_DVIDS124942.jpg]] in your web browser.
+ Once it is done, test the setup by visiting [[http://localhost:8764/inception/v4/classify/image?topn=2&min_confidence=0.03&url=https://upload.wikimedia.org/wikipedia/commons/f/f6/Working_Dogs%2C_Handlers_Share_Special_Bond_DVIDS124942.jpg]] in your web browser.
  
  '''Sample output from API:'''
  {{{#!json