open-mmlab / denseflow

Extracting optical flow and frames
https://open-mmlab.github.io/
MIT License
307 stars 61 forks source link

use denseflow #13

Open Shuhan136 opened 4 years ago

Shuhan136 commented 4 years ago
  1. how to extract optical flow of a list of videos denseflow test.txt -b=20 -a=tvl1 -s=1 --saveType=jpg -v " does not exist! check init param error.

  2. how to extract RGB frames denseflow test1.avi -s=0 -v "test1.avi", frames ≈ 312 extracted frames of video "test1.avi", 312 frames 1 videos (312 frames, 0 tvl1 flows) processed, using 0.858s, decoding speed 363.636fps, flow speed 0fps

innerlee commented 4 years ago

could you provide more info?

Shuhan136 commented 4 years ago
  1. How should I use DenseFlow to generate the optical flow of the test video-list: (1). denseflow test.txt *** , How should " **** " be set. (2) Which folder should I put my videos of test.list in.

  2. . How should I use DenseFlow to extract RGB frames: denseflow test.avi *** , How should " **** " be set.

Shuhan136 commented 4 years ago

I know this is a low level question, but I really can't seem to handle it. Thank you very much indeed.

innerlee commented 4 years ago

I updated the examples in the README, https://github.com/open-mmlab/denseflow/blob/master/README.md#usage Does that help?

Shuhan136 commented 4 years ago

Should the path be the absolute path of a video? What do mean by class? Should I create a folder for every video? I have used the videolist as "/home/x/app/work/test4.avi /home/x/app/work/test3.avi" which put two videos under a same folder. I also used the videolist as "/home/x/app/work/class1/test1.avi /home/x/app/work/class2/test2.avi" which create two folders for two different videos, but it didn't work. I notice you update the parameter -cf, should this parameter equal to something such as -cf=.... Thanks you a lot!