Skip to content

Commit 521f9a9

Browse files
committed
2 parents d76befd + 58cd237 commit 521f9a9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ If you use this code, please cite our work:
1313
      year = {2014}
1414
}
1515

16+
Source | 3 | 15 | 50
17+
--- | --- | --- | ---
18+
**mpegflow** | ![]() | ![]() | ![]()
19+
Ground truth | ![]() | ![]() | ![]()
20+
1621
# mpegflow
1722
The tool accepts a video file path as command-line argument and writes MPEG-flow (motion vectors) to standard output. By default, the tool outputs the motion vectors arranged in two matrices - dx and dy.
1823

@@ -48,12 +53,12 @@ Option | Description
4853
- Save visualization to disk:
4954
> $ mkdir -p vis_dump && ./mpegflow video.avi | ./vis --dump vis_dump video.avi
5055
51-
Runnable examples are in ```examples/extract_motion_vectors.sh``` and ```examples/vis_motion_vectors.sh```. Feel free to use ```vis.cpp``` and ```examples/vis_hue.m``` as examples of reading **mpegflow** output.
56+
Runnable examples are in ```examples/extract_motion_vectors.sh``` and ```examples/vis_motion_vectors.sh```. Feel free to use ```vis.cpp``` and ```examples/vis_hue.m``` as examples of parsing **mpegflow** output. ```examples/vis_hue``` can also be used to produce hue flow visualizations like above.
5257

5358
# Building from source
5459
**mpegflow** depends only on a recent FFmpeg, **vis** depends on FFmpeg, OpenCV and libpng. The tools are known to work with FFmpeg 2.7.2 and OpenCV 2.4.11. We strongly recommend using ```dependencies/install_ffmpeg_here_linux.sh``` and ```dependencies/install_opencv_here_linux.sh```, even if you already have the dependencies installed elsewhere. Once the dependencies are visible to g++, run ```make``` to build **mpegflow** and ```make vis``` to build **vis**.
5560

56-
To build tools on Windows:
61+
To build the tools on Windows:
5762

5863
1. Follow ```dependencies/install_dependencies_here_windows.txt```
5964
2. Fix OPENCV_DIR, FFMPEG_DIR, VC_VERSION, OPENCV_ARCH in Makefile.nmake if needed

0 commit comments

Comments
 (0)