tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2322) Video labeling using existing ObjectRecognition
Date Thu, 27 Apr 2017 04:53:04 GMT

    [ https://issues.apache.org/jira/browse/TIKA-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986001#comment-15986001
] 

ASF GitHub Bot commented on TIKA-2322:
--------------------------------------

chrismattmann commented on issue #168: fix for TIKA-2322 contributed by msharan@usc.edu
URL: https://github.com/apache/tika/pull/168#issuecomment-297611248
 
 
   OK now I am stuck on this error (running `mvn clean install` so that I can get a fresh
tika-app to test, using `TIKA-2322` branch on smada/tika):
   
   ```
   [ERROR] COMPILATION ERROR : 
   [INFO] -------------------------------------------------------------
   [ERROR] /Users/mattmann/git/smadha-tika/tika-parsers/src/test/java/org/apache/tika/parser/pkg/PackageParserTest.java:[40,55]
incompatible types: java.lang.String cannot be converted to org.apache.commons.compress.archivers.ArchiveInputStream
   [INFO] 1 error
   [INFO] -------------------------------------------------------------
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary:
   [INFO] 
   [INFO] Apache Tika parent ................................. SUCCESS [  1.087 s]
   [INFO] Apache Tika core ................................... SUCCESS [ 22.586 s]
   [INFO] Apache Tika parsers ................................ FAILURE [  5.888 s]
   [INFO] Apache Tika XMP .................................... SKIPPED
   [INFO] Apache Tika serialization .......................... SKIPPED
   [INFO] Apache Tika batch .................................. SKIPPED
   [INFO] Apache Tika language detection ..................... SKIPPED
   [INFO] Apache Tika application ............................ SKIPPED
   [INFO] Apache Tika OSGi bundle ............................ SKIPPED
   [INFO] Apache Tika translate .............................. SKIPPED
   [INFO] Apache Tika server ................................. SKIPPED
   [INFO] Apache Tika examples ............................... SKIPPED
   [INFO] Apache Tika Java-7 Components ...................... SKIPPED
   [INFO] Apache Tika eval ................................... SKIPPED
   [INFO] Apache Tika ........................................ SKIPPED
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time: 29.993 s
   [INFO] Finished at: 2017-04-26T21:48:03-07:00
   [INFO] Final Memory: 66M/1014M
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:testCompile
(default-testCompile) on project tika-parsers: Compilation failure
   [ERROR] /Users/mattmann/git/smadha-tika/tika-parsers/src/test/java/org/apache/tika/parser/pkg/PackageParserTest.java:[40,55]
incompatible types: java.lang.String cannot be converted to org.apache.commons.compress.archivers.ArchiveInputStream
   [ERROR] -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please read the following
articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the command
   [ERROR]   mvn <goals> -rf :tika-parsers
   LMC-053601:smadha-tika mattmann$ 
   ```
   
   I tried with both Java7, and Java8, and get the same error, any ideas?
   
   ```
   LMC-053601:smadha-tika mattmann$ env | grep JAVA
   JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home
   LMC-053601:smadha-tika mattmann$ echo $JAVA_HOME
   /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home
   LMC-053601:smadha-tika mattmann$ java -version
   java version "1.8.0_91"
   Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
   Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
   LMC-053601:smadha-tika mattmann$ mvn -version
   Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
   Maven home: /usr/local/Cellar/maven/3.3.9/libexec
   Java version: 1.8.0_91, vendor: Oracle Corporation
   Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre
   Default locale: en_US, platform encoding: UTF-8
   OS name: "mac os x", version: "10.11.3", arch: "x86_64", family: "mac"
   LMC-053601:smadha-tika mattmann$ 
   ```
 
----------------------------------------------------------------
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:
users@infra.apache.org


> Video labeling using existing ObjectRecognition
> -----------------------------------------------
>
>                 Key: TIKA-2322
>                 URL: https://issues.apache.org/jira/browse/TIKA-2322
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>            Reporter: Madhav Sharan
>            Assignee: Chris A. Mattmann
>              Labels: memex
>             Fix For: 1.15
>
>
> Currently TIKA supports ObjectRecognition in Images. I am proposing to extend this to
support videos. 
> Idea is -
> 1. Extract frames from video and run IncV3 to get labels for these frames. 
> 2. We average confidence scores of same labels for each frame. 
> 3. Return results in sorted order of confidence score. 
> I am writing code for different modes of frame extractions -
> 1. Extract center image.
> 2. Extract frames after every fixed interval.
> 3. Extract N frames equally divided across video.
> We used this approach in [0]. Code in [1]
> [0] https://github.com/USCDataScience/hadoop-pot
> [1] https://github.com/USCDataScience/video-recognition



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message