This package extends imgraph, for videos...
C Lua Objective-C C++
Latest commit 1b05505 Jul 4, 2013 @clementfarabet unew rock
Permalink
Failed to load latest commit information.
generic New API Sep 12, 2012
CMakeLists.txt rockspec Nov 23, 2012
README.md added README Jun 18, 2012
init.cpp New API Sep 12, 2012
init.lua Added 26-connexity: really useful for smoothness. Jun 18, 2012
set.h Initial commit. Jun 11, 2012
videograph-1.0-0.rockspec unew rock Jul 4, 2013

README.md

videograph: a package to create/manipulate graphs on videos

This package provides standard functions to create and manipulate edge-weighted graphs of videos: create a graph, segment it, get its adjacency matrix, ...

Install

1/ Torch7 is required:

Dependencies, on Linux (Ubuntu > 9.04):

$ apt-get install gcc g++ git libreadline5-dev cmake wget libqt4-core libqt4-gui libqt4-dev

Dependencies, on Mac OS (Leopard, or more), using Homebrew:

$ brew install git readline cmake wget qt

Then on both platforms:

$ git clone https://github.com/andresy/torch
$ cd torch
$ mkdir build; cd build
$ cmake ..
$ make
$ [sudo] make install

2/ Once Torch7 is available, install this package:

$ [sudo] torch-pkg install videograph

Use the library

First run torch, and load videograph:

$ torch
> require 'videograph'

...