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

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

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

 ##########
 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 <thammego...@apache.org> and Kranthi Kiran GV 
<kkran...@student.nitw.ac.in> and \
            Madhav Sharan <msha...@usc.edu> and Chris Mattmann 
<mattm...@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:
   orthogonal line change?
 
----------------------------------------------------------------
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


> 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)

Reply via email to