[ https://issues.apache.org/jira/browse/TIKA-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15968947#comment-15968947 ]
ASF GitHub Bot commented on TIKA-2306: -------------------------------------- KranthiGV commented on issue #163: TIKA-2306: Update Inception v3 to Inception v4 in Object recognition parser URL: https://github.com/apache/tika/pull/163#issuecomment-294143638 @thammegowda I have made the necessary changes at Reduced disk I/O commit (https://github.com/apache/tika/pull/163/commits/db8c81410b8468e1a524ed2dbb28abc7154fb11d) The performance is compared by running it 50 times on an image. ``` script.sh: n=0; while [[ $n -lt 50 ]]; do java -jar tika-app/target/tika-app-1.15-SNAPSHOT.jar --config=tika-parsers/src/test/resources/org/apache/tika/parser/recognition/tika-config-tflow-rest.xml http://www.trbimg.com/img-57226a08/turbine/ct-tesla-model-3-unveiling-20160404/650/650x366; n=$((n+1)); done time ./script.sh ``` Before changes: `real 4m33.334s` After changes: `real 1m0.736s` TODO after merging: 1) Update the inceptionapi.py link to Apache's repo link. 2) Document the usage in Wiki. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Update Inception v3 to Inception v4 in Object recognition parser > ----------------------------------------------------------------- > > Key: TIKA-2306 > URL: https://issues.apache.org/jira/browse/TIKA-2306 > Project: Tika > Issue Type: Improvement > Components: parser > Affects Versions: 1.14 > Reporter: Kranthi Kiran GV > Priority: Minor > Labels: inception, object_recognition > Original Estimate: 72h > Remaining Estimate: 72h > > Object Recognition Parser currently uses Inception V3 model for the object > classification task. Google released a newer Inception V4 model [1][2]. > It has an improved Top -1 accuracy of 80.2 and Top-5 accuracy of 95.2 [3]. > I believe that Tika community would benefit from it. I would be working on > this issue in the next few days. > [1] https://research.googleblog.com/2016/08/improving-inception-and-image.html > [2] https://arxiv.org/abs/1602.07261 > [3] https://github.com/tensorflow/models/tree/master/slim -- This message was sent by Atlassian JIRA (v6.3.15#6346)