Dense_flow-master+windows

Source: Internet
Author: User

1. Download the Dense_flow-master code

Https://github.com/wanglimin/dense_flow

2. You have to install Vs013+opencv (mine is opencv2.4 version)

3. I have no GPU so look for the cpudenseflow version of the Great God

It's the denseflow. If it's a GPU version, that's the GPU with the suffix.

4. Compiling!!!!!!

(Denseimage) is the. avi video to get a frame of RGB color picture (seemingly denseflow directly include this feature)

(Denseflow) flow_x and flow_y are the optical flow images

Just open vs2013. Create a new empty project, and then right-click Add--New project copy the DenseImage.cpp code to the inside then right-click on the build solution, another denseflow, as well as a new empty project

"It is important to note that I just right-clicked to add an existing item so that it can be compiled successfully, but when using the. exe, there will be debug error what r6010 (or perhaps I have come back again this error is not)"

5. Then open cmd, enter d:/ucf/dense_flow-windows/denseflow_cpu/df_cpu/x64/debug/df_cpu.exe-f d:/ucf/dense_flow-windows/ Test.avi-x d:/ucf/denflow/bb/tmp/flow_x-y d:/ucf/denflow/bb/tmp/flow_y-i d:/ucf/denflow/bb/tmp/image-b 20-t 1-d 0-s 1

All I'm using is the absolute path.

Specific look at Denseimage and Denseflow look at the inside of the-f-x-y-i what is the meaning of

 - 1 0 1

6. Result diagram

Dense_flow-master+windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.