Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculation of TV L1 flow #120

Open
elpabos opened this issue Jan 12, 2022 · 1 comment
Open

Calculation of TV L1 flow #120

elpabos opened this issue Jan 12, 2022 · 1 comment

Comments

@elpabos
Copy link

elpabos commented Jan 12, 2022

I tried to use the DualTVL1OpticalFlow_create from opencv but it is not available at the latest version of cv2. Then, I tried to import cv2.optflow.DualTVL1OpticalFlow and, despite I can do it, I got an error when I calculated the flow.

cv2.error: OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv_contrib\modules\optflow\src\tvl1flow.cpp:415: error: (-215:Assertion failed) I0.type() == CV_8UC1 || I0.type() == CV_32FC1 in function 'cv::optflow::OpticalFlowDual_TVL1::calc'

Can someone help me, please?

@leenas233
Copy link

hello ,I am a beginner. I wonder how to get the optical flow datasets. are there any websites to download the dataset or should I process the raw video to get the optical flow data? Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants