Pull request for TIKA-1798 Parser for Video Similarity using PooledTimeSeries metric contributed by Aditya Dhulipala and Chris Mattmann. - #64
Conversation
Uses JavaProcessBuilder to invoke the PoT jar. Runs PoT to generate of.txt and hog.txt. Extracts of.txt metadata as a list of lists, i.e. a 2D matrix in HTML
There was a problem hiding this comment.
needs to be generalized.
|
ok @cafed00d4j I significantly cleaned this up and got it working! Great initial work! Some comments:
|
|
Hi Prof. Chirs, Thanks for the feedback.. Please check my responses below.
|
|
@cafed00d4j i don't get the response to 1.i. - if OF and HOG Are 1D vectors why is there a num rows, num cols? |
|
I couldn't think of better terms for them. The numRows is number of time-series in the video. This proportional to the numFrames in the video. But it's not equal to it. It depends on the how the underlying computeFarnebackFlow() and computeGradeient() operations behave. but the general term the paper uses is time-series and each of the rows is a unit of time-series The numCols is a constant. Of size 200. It's the vector size. It's got by applying some pooling operators on the flowVectors and gradientHistorgrams. (It's initialized around line 412. There's also a comment there about the chosen size) So, each row in the output is a PoT vector of that particular time-serie. |
|
Thanks @cafed00d4j so I think we can still use a table here and just do rowspan to take care of non uniform sizes - colspan isn't needed since it's always 200 right? |
|
Hi Prof. No problem! Yes. I think that can omitted. But we can leave it in for completeness it's that's important. |
… code. 2. Use table instead of vector. 3. Provide of and og vecSize and frameSize in metadata. 4. add of and og computations. 5. fix XHTML and disable of and og table headings.
…metric contributed by Aditya Dhulipala and Chris Mattmann this closes apache#64. git-svn-id: https://svn.apache.org/repos/asf/tika/trunk@1716927 13f79535-47bb-0310-9956-ffa450edef68
No description provided.