jeffreyyihuang / two-stream-action-recognition

Using two stream architecture to implement a classic action recognition method on UCF101 dataset
MIT License
855 stars 252 forks source link

How can I generate 2-channel optical flow image and save its x, y channel as .jpg image? #42

Closed fairyzhxz closed 5 years ago

fairyzhxz commented 5 years ago

After using flownet2.0 method, I have generated .flo files. But I don't know how to convert .flo files to 2-channel optical flow image and save its x, y channel as .jpg image. Can you help me? Thanks so much.

sebawsky commented 4 years ago

Hi, you know how to save the u and v data in a jpg image?