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 Mon, 01 May 2017 15:51:04 GMT

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

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

ThejanW commented on a change in pull request #175: TIKA-2322: update dockerfile
URL: https://github.com/apache/tika/pull/175#discussion_r114144077
 
 

 ##########
 File path: tika-parsers/src/main/resources/org/apache/tika/parser/recognition/tf/InceptionVideoRestDockerfile
 ##########
 @@ -15,37 +15,34 @@
 # limitations under the License.
 #
 
-# Take base as Ubuntu: 16.04, then you can simply apt-get install ffmpeg
 FROM ubuntu:16.04
 MAINTAINER Thamme Gowda <thammegowda@apache.org> and Kranthi Kiran GV <kkranthi@student.nitw.ac.in>
and \
            Madhav Sharan <msharan@usc.edu> and Chris Mattmann <mattmann@apache.org>
 
+# Install missing part of ubuntu core + python + building dependencies
 RUN apt-get update && \
-      apt-get install -y wget && \
-      apt-get install -y unzip && \
-      apt-get install -y curl
-
-
-# Install ffmpeg
-RUN apt-get install -y ffmpeg
-
-# Dependencies
-RUN apt-get install -y build-essential cmake pkg-config \
+      apt-get install -y wget git unzip curl \
+      libtcmalloc-minimal4 software-properties-common apt-utils \
+      build-essential cmake pkg-config \
       libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev \
       libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \
       libxvidcore-dev libx264-dev \
       libgtk2.0-dev \
       libatlas-base-dev gfortran \
       python2.7-dev \
       python-pip
+
+# Install ffmpeg
+RUN apt-get install -y ffmpeg
+
 RUN \
       pip install --upgrade pip && \
       pip install numpy
 
+# Download OpenCV + OpenCV_Contrib
 WORKDIR /usr/local/src
 
-# Download OpenCV 3 + Contrib
-RUN \ 
 
 Review comment:
   Thought this would make much sense if it's called OpenCV_Contrib rather than Contrib.
 
----------------------------------------------------------------
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