Giter Site home page Giter Site logo

OpenCV Error about railroad HOT 2 CLOSED

gislab-elte avatar gislab-elte commented on June 20, 2024
OpenCV Error

from railroad.

Comments (2)

Aladgit avatar Aladgit commented on June 20, 2024

Has this bug already been fixed? I'm also running into several errors.

from railroad.

mcserep avatar mcserep commented on June 20, 2024

Thanks for reporting this issue. The source of the error is that the algorithm failed to find the rail tracks. While in OpenCV3 there is no error in that case, in OpenCV2 an assertion fails upon writing a 0x0 size image.
We have made improvements on this and meanwhile switched to OpenCV4, so please try it again with a higher OpenCV version.

Of course, the real issue here is that the rail track was not found. I have 2 suggestions for that:

  • Try to crop the railway and its close surroundings from the point cloud. Some terrain and vegetation nearby can be handled by the algorithm, but larger areas could "mislead" the algorithm and in the end no rail track is found.
  • To avoid manual preprocessing of the data in such way, we have implemented a combined cable and rail track segmentation approach, by first locating the overhead cables and automatically cropping the point cloud based on its position, so the rail tracks can be found with much better results. This was implemented in cc18442. See the Usage Guide as a reference on how to use it.

from railroad.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.