halajun/VDO_SLAM

What is your input image to generate the .flo file with PWC-NET?

Opened this issue · 2 comments

I use pytorch-pwc to generate the .flo file but it seems to be no data within the object,
Firstly, the input to pwc I used is the original image,
000001
after I generate the .flo file, I test the vdo_slam, but it seems no data in flow
2021-05-29 16-27-39 的屏幕截图
2021-05-29 16-28-20 的屏幕截图
then I convert it to .png file, but it seems to be no flow in the object:
000001

After I comment these lines, it only work on first 2 frames:
2021-05-29 19-55-42 的屏幕截图
2021-05-29 19-58-15 的屏幕截图

and it can't detect the moving car or estimate its speed.

Hi, @real-chenzy. Sorry for the late reply. I think the mask of object has been filtered in the tracking process, due to the object being too small in the scene. You can change the pre-set variable of "ThDepthOBJ" in the yaml file, or modify the thresholds in the function of Tracking::DynObjTracking(). Hope this may help.