Closed williamfernando74 closed 6 years ago
You should set ROI_POSITION variable as considering your case.
ROI_POSITION variable is used in predict_speed method.
Also you should set this line to draw ROI_LINE on the position that you want.
I know, the structure does not look crystal clear but developing is on progress and I have been working on developing the architecture, code cleanup and code refactoring.. I will upgrade the project soon with more talented traffic analyzer app also it will have more understandable and lightweight architecture..
The predict_speed code has some more coordinates you need to change for it to work with your video, check there.
Thank you so much ahmetozlu and Viba. Everything is working fine now. Thanks a lot.
@williamfernando74 hey can you help me out man i also have the same problem so please help me out it's urgent for me
I want to use this program with another traffic video but can't find the code where the coordinates of roi line is defined. I tried changin the variable in visualization file that was previously set to 200 but it didn't work. Can you please help me with this?