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

issue opencv #4

Closed
ASSEKO10 opened this issue Aug 11, 2023 · 2 comments
Closed

issue opencv #4

ASSEKO10 opened this issue Aug 11, 2023 · 2 comments
Labels
question Further information is requested

Comments

@ASSEKO10
Copy link

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
Copy link

@ASSEKO10 Hi,did you solve this problem?

@mcserep mcserep added the question Further information is requested label May 26, 2024
@mcserep
Copy link
Member

mcserep commented May 26, 2024

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:

  • Try to manually cut out the railbed a bit more precisely, with minimal surroundings, so the algorithm will find it easier.
  • Use the seeded version of then rail track detection (RailTrackWithSeed algorithm pipeline), in which case the detected cables are passed to the rail detection to better locate the rails afterwards.

@mcserep mcserep closed this as completed May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants