GISLab-ELTE / railroad

Robust Railroad Infrastructure Detection Framework
BSD 3-Clause "New" or "Revised" License
24 stars 15 forks source link

issue opencv #4

Closed ASSEKO10 closed 3 months ago

ASSEKO10 commented 1 year ago

hello MATÉ, i am working on your railroad detection algo , i got issues by executing the algo, i got this message << terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.5.4) ./modules/core/src/matrix_wrap.cpp:1667: error: (-215:Assertion failed) !fixedSize() in function 'release'>> i seriously need your help to fix that issue. feel free to write in private.

have a good day

yuancaimaiyi commented 7 months ago

@ASSEKO10 Hi,did you solve this problem?

mcserep commented 3 months ago

Hi @ASSEKO10 and @yuancaimaiyi,

Sorry for the late response, I had little time for this project recently. I guess the question is not actual anymore, but I will answer it in case someone is directed here in the future.

The mentioned error is most likely the result of the algorithm not-detecting the rail pairs correctly. In case there are 0 detected points for the railbed, the 2.5D projection by OpenCV produces this assertion warning. Possible solutions are: