Code Monkey home page Code Monkey logo

nat-zewge / efficienthierarchicalgraphbasedvideosegmentationexporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mikeroberts3000/efficienthierarchicalgraphbasedvideosegmentationexporter

0.0 2.0 0.0 6.61 MB

This repository contains C++ code to export the video segmentations from the system described in the paper Efficient Hierarchical Graph-Based Video Segmentation. The system described in this paper returns segmentations as Protocol Buffer files. The exporter contained in this repository converts these Protocol Buffer files into image sequences.

CMake 41.48% C++ 58.52%

efficienthierarchicalgraphbasedvideosegmentationexporter's Introduction

This repository contains C++ code to export the video segmentations from the system described in the paper Efficient Hierarchical Graph-Based Video Segmentation. The system described in this paper returns segmentations as Protocol Buffer files. The exporter contained in this repository converts these Protocol Buffer files into image sequences.

Note that most of this code was written by Matthias Grundmann and distributed on his project page. I just hacked his code to export the segmentations rather than visualize them in a GUI.

Requirements

  • OpenCV. I used OpenCV 2.4.6.1, but any recent version of OpenCV should work.
  • Protobuf. I used ProtoBuf 2.5.0, but any recent version of Protobuf should work.
  • The CMake GUI. I used CMake 2.8.10, but any recent version of CMake should work.

On Mac OSX, OpenCV and Protobuf are easy to obtain via MacPorts. From a terminal window, simply type the following:

$ sudo port install opencv
$ sudo port install protobuf-cpp

Build Instructions

  • Point the CMake GUI to the code/segmentation_exporter/segmentation_exporter folder and specify a build folder.
  • Hit Configure. Select the default compiler options. On Mac OSX, CMake should find all the build dependencies automatically. If CMake doesn't find these dependencies automatically, enter in the missing OpenCV and Protobuf CMake variables manually and hit Configure again.
  • Hit Generate.
  • Navigate to the build folder in a terminal window and type make.
  • Now you can run the segmentation_exporter executable.

Usage

  • Obtain a video segmentation from here.
  • Run the segmentation_exporter executable from this repository as follows:
$ ./segmentation_exporter input_segmentation.pb output_folder

efficienthierarchicalgraphbasedvideosegmentationexporter's People

Contributors

mikeroberts3000 avatar stkirchhoff avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.