GithubHelp home page GithubHelp logo

jinyqjinyq / video-dataset-to-optical-flow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from milkcat0904/video-dataset-to-optical-flow

0.0 1.0 0.0 638 KB

由视频数据集生成optical flow,frames,warped flow

Home Page: https://github.com/milkcat0904/video-dataset-to-optical-flow

Shell 1.71% CMake 0.67% Python 1.93% Makefile 0.91% C++ 92.79% Batchfile 0.01% C 0.47% QMake 0.59% MATLAB 0.90%

video-dataset-to-optical-flow's Introduction

从视频数据集提取光流图,RGB,warped光流图

Extract optical flow,RGB,warped optical flow from video dataset

1.下载和解压 Download & Unzip

  • 直接下载或者使用指令下载:

      $ git clone --recursive https://github.com/milkcat0904/video-dataset-to-optical-flow.git
    
  • $ unzip video-dataset-to-optical-flow-master.zip

  • 下载数据集 UCF-101HMDB51

2.编译环境 Build

build opencv 2.4.13 和 dense_flow 环境

	$ bash build_all.sh
	
终端输出"All tools built. Happy experimenting!" 表示build成功

3.提取光流 Etract optical flow

$ bash scripts/extract_optical_flow.sh DATASET_PATH OUT_PATH NUMBER_OF_WORKER

DATASET_PATH : 数据集的地址

OUT_PATH :生成光流图的地址

NUMBER_OF_WORKER :工作的显卡数量,一般设置为2

4.提取warped光流图 Etract warped flow

  • tools/build_of.py的第89行--flow_type的默认值改为warped_tv11
parser.add_argument("--flow_type", type=str, default='warped_tvl1', choices=['tvl1', 'warp_tvl1'])
  • $ bash scripts/extract_optical_flow.sh DATASET_PATH OUT_PATH NUMBER_OF_WORKER

video-dataset-to-optical-flow's People

Contributors

milkcat0904 avatar

Watchers

James Cloos 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.