ahmedbilal / video-summarization

Intelligent Video Summarization
GNU General Public License v3.0
3 stars 1 forks source link

Find Good Optical Flow Algorithm #5

Closed ahmedbilal closed 5 years ago

ahmedbilal commented 5 years ago

We initially tested Farneback Optical Flow shipped with OpenCV. But, you noticed that its results are not very good. So, I tested pathak22's pyflow. Its results are little better but it is very slow i.e it takes 10-15 seconds on My CPU (i7-3840QM) and even more on Google Colaboratory's CPU. So, it is infeasible to find optical flow using this algorithm. Frame 1 Imgur

Frame 2 Imgur

Optical Flow using pyflow Imgur

Optical Flow using Farneback Imgur

The purpose of this issue is to notify all of you to find some good Optical Flow algorithm that can run on either our local machine or Google Colab.

Please test it on your machine or Google Colab before suggesting.

ahmedbilal commented 5 years ago

image

I tried it on Google Colab but unfortunately Google Colab doesn't support Docker (it doesn't allow docker daemon to run). So, I am trying it on my laptop (it is large download and whole process is taking a lot of time). So, hope it would work.

ahmedbilal commented 5 years ago

Tried to run on my Laptop but error occurred. More Details

ahmedbilal commented 5 years ago

@WaqasSultani @asiffirdos @ranahaseeb944 @talha2302 Flownet runs successfully and generate the following image sequence for first 30 frames of wales video. animation

ahmedbilal commented 5 years ago

Done.