Fast and Robust Lane Detection using OpenCV

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ค. 2016
  • Using a self-made real time lane detection algorithm, we are able to do fast lane tracking and following. Even if the track is lost for some reason, the car will find it's way back.
    The algorithm is written using OpenCV and runs with 30fps on a Intel Atom processor.
    If you have any questions, please feel free to contact me!
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 83

  • @ClemensElflein
    @ClemensElflein  8 ปีที่แล้ว +34

    @Empty Videos:
    It uses the Asus Xtion Pro Live as sensor, but it would also work with a standard webcam.
    Processing is done using a Intel Atom processor (board: Kontron pITX E38). The algorithm runs on a single thread, no GPU acceleration. It runs with 30 fps.

    • @kratikapatidar8509
      @kratikapatidar8509 3 ปีที่แล้ว +1

      Plzzz send me sourcode of this project

    • @jlim3913
      @jlim3913 ปีที่แล้ว

      @@kratikapatidar8509 what the f....

  • @MrGramatix
    @MrGramatix 4 ปีที่แล้ว

    Brilliant performance, good job

  • @twoneweek
    @twoneweek 7 ปีที่แล้ว

    Thanks for sharing. It's really cool

  • @marcodomingo6763
    @marcodomingo6763 6 ปีที่แล้ว +1

    Hi Clemens, what sort of programming language do you use for programming the Intel processor? Also what IDE do you use? This is great! Thanks for sharing

  • @lucafucci3365
    @lucafucci3365 6 ปีที่แล้ว +3

    Hi, I'm working on a similar project. Which kind of algorithm did you use for detecting the lanes? I'm trying with binary thresholding and polynomial fitting but it's not that robust.
    Did you use convolutional neural network or what?

  • @boydzhang
    @boydzhang 7 ปีที่แล้ว +38

    Seems wonderful. Is there a technical paper stating the theory behind it or is it going to be open sourced?

    • @edwinshelly993
      @edwinshelly993 3 ปีที่แล้ว +2

      It is open sourced, just buy a cheap web cam, arduino uno processor, and you'll find the code and guidance in the net.

    • @hithesh8228
      @hithesh8228 2 ปีที่แล้ว +7

      @@edwinshelly993 u cant use arduino here dude
      it dosent have enough computational power lol

  • @FahadShakir1
    @FahadShakir1 7 ปีที่แล้ว

    @Clemens how can I determine from the Fov of camera the lateral offset and angular offset using camera on the car so that it should not deviate from its lane..

  • @abs9039
    @abs9039 7 ปีที่แล้ว

    Hi Clemens, what language did you use, and what algorithms ? Also do you have any reference papers that I can use for help, thanks.

  • @imedtayeche6221
    @imedtayeche6221 5 ปีที่แล้ว

    Could you describe the Idea of following/tracking the Line or the Path? what type of controller did you use? :)

  • @rs9130
    @rs9130 5 ปีที่แล้ว

    good work. which microcontroller did you use for the car

  • @poloyacero
    @poloyacero 7 ปีที่แล้ว +1

    Hello sir, can I ask for an overview or tips for this project? thanks

  • @vladimirmakarov1009
    @vladimirmakarov1009 8 ปีที่แล้ว +2

    Very cool. Can you share the code and a tutorial on how to set this up. Would be really cool to see the code or for others to try.

  • @matichelbl
    @matichelbl 5 ปีที่แล้ว

    Hi Clemens I am trying to make a self driving “car”, I was thinking about using an arduino to run the program, but i’ve been told, that it’s way to slow to manage such calculations. What do you think about it? Could you perhaps help me do it and at least give me some advice, like what hardware did you use (camera or some kind of image recognition, processor unit... and so on). I’m looking forward to your response. Best regards.

  • @zl3dwh
    @zl3dwh 7 ปีที่แล้ว +1

    It is crossing the line from time to time. Should detect earlier or steer earlier and slow down before the curl

  • @leandroboari
    @leandroboari 7 ปีที่แล้ว +1

    Very nice job.

  • @guray534
    @guray534 4 ปีที่แล้ว

    Very good 👏👏

  • @CabrioDriving
    @CabrioDriving 8 ปีที่แล้ว

    Very nice.

  • @franklynxavier5643
    @franklynxavier5643 3 ปีที่แล้ว +1

    Check this course for an in-depth explanation of OpenCV from beginner to advanced: ​th-cam.com/video/gLDJEY49M38/w-d-xo.html​

  • @thebestempty
    @thebestempty 8 ปีที่แล้ว

    What sensors and (processing) board?

  • @shu-haoyeh7955
    @shu-haoyeh7955 4 ปีที่แล้ว

    Hi I am interested in how you control the car to follow the track. Can you share the project with me? Thank you.

  • @MrSamuel00700
    @MrSamuel00700 7 ปีที่แล้ว +1

    Hello! I would like to know where to find material for building the car ...! And I want to congratulate you on the project, a great job!

  • @jhartwells2970
    @jhartwells2970 3 ปีที่แล้ว

    Nice are you using hog, haar,.... In open cv? Is your e38 running Linux? is the detection solely based on computer vision?

  • @ResurrectionofMC
    @ResurrectionofMC 5 ปีที่แล้ว

    Super Arbeit! Wie bekommst du diese Verarbeitungszeit hin. Mein Code braucht ganze 200ms um die Linien einer Fahrbahn zu erkennen. Kannst du vielleicht mal beschreiben wie du die Linien suchst? Nutzt du zb auch die Transformation des Bildes in die Vogelperspektive?

    • @ClemensElflein
      @ClemensElflein  5 ปีที่แล้ว +6

      Hi! Danke Dir!
      Die Linien erkenne ich im perspektivischen Bild und transformiere die Ergebnisse dann in die Vogelperspektive.
      Ich mache erst einen dynamischen Schwellwert in jeder Zeile (dass das ganze Kontrastunabhaengig funktioniert) und finde dann Pixel mit hohem Kontrast. Das sind ja Kandidaten fuer Spurenmarkierungen + Rauschen. Durch diese Pixel lege ich mit RANSAC ein Modell (ich denke es war eine Parabel) und transformiere nur die Punkte die in das Modell passen in die Vogelperspektive. Somit verschwindet das meiste Rauschen. Danach vergleiche ich die Punkte mit den Linien die ich in den letzten Bildern erkannt habe und verwerfe Punkte die nicht dazu passen.
      Viele Gruesse

  • @chawza8402
    @chawza8402 2 ปีที่แล้ว

    at least you share the docs or code of this Wonderful project of yours

  • @PiDsPagePrototypes
    @PiDsPagePrototypes 2 ปีที่แล้ว

    Better lane discipline then most human drivers,...

  • @dplakosh1
    @dplakosh1 7 ปีที่แล้ว

    HI is a paper or any code available? Thanks

  • @furkanedizkan7202
    @furkanedizkan7202 3 ปีที่แล้ว

    Sir, I am working on a similar project for my bachelor's degree final project right now, can you share the source code?

  • @805mtb
    @805mtb 2 ปีที่แล้ว +1

    Can i buy the car somewhere?

  • @muhammadabraranwar7600
    @muhammadabraranwar7600 7 ปีที่แล้ว +1

    I'm working on something similar. I can detect the lanes but couldn't figure out how to rotate the servo accordingly if the lane has curve the servo should rotate with same angle. ay help? i'm using raspberry pi

    • @aysenurmertel2517
      @aysenurmertel2517 7 ปีที่แล้ว +1

      did you work it out? I've got same problem too...

    • @dionisiy13
      @dionisiy13 5 ปีที่แล้ว

      read about PID controller

    • @gangotrimishra2025
      @gangotrimishra2025 5 ปีที่แล้ว

      How r u detecting curve lane ..I am able to detect and Mark straight lane but not able to mark curve...plzz suggest

    • @soryegetun529
      @soryegetun529 3 ปีที่แล้ว

      @@gangotrimishra2025 I know its been 2 years but did u find how u can ?

    • @gangotrimishra2025
      @gangotrimishra2025 3 ปีที่แล้ว

      @@soryegetun529 i mean there are several papers and also tutorial named like advance lane detection...you can check those out

  • @simonefelicioni900
    @simonefelicioni900 6 ปีที่แล้ว +1

    Great work! Have you got a paper?

  • @EmanueleFia
    @EmanueleFia 7 ปีที่แล้ว

    do you share the code?

  • @nguyenmanhcuong6968
    @nguyenmanhcuong6968 4 ปีที่แล้ว

    Hello, can you give me a code for reference?

  • @harrisonsmithsantandercord6395
    @harrisonsmithsantandercord6395 ปีที่แล้ว

    where can I find the program?

  • @vlognatsu1289
    @vlognatsu1289 5 ปีที่แล้ว

    Can you please give me your code for reference?

  • @danielvelazquez4472
    @danielvelazquez4472 5 ปีที่แล้ว

    Can I see the code?

  • @manbolomo
    @manbolomo 2 ปีที่แล้ว

    Okay, next make it drift around corners😁

  • @cRoLLic1
    @cRoLLic1 2 ปีที่แล้ว

    Can you make the code available on a github maybe?

  • @chauvanlam3345
    @chauvanlam3345 ปีที่แล้ว

    The project is great, I want to take a look at the project. Can you give me the code file?

  • @brianadityahermansyah4646
    @brianadityahermansyah4646 4 ปีที่แล้ว +1

    i need this tutorial

  • @tomelner
    @tomelner 2 ปีที่แล้ว

    So much faster than my old line detection robot... Although to be fair mine was analogue with no programming. Check it out on my oldest TH-cam videos

  • @rachidalika9992
    @rachidalika9992 3 ปีที่แล้ว

    Nice project do you send me the code source and sensor use

  • @rachidalika9992
    @rachidalika9992 3 ปีที่แล้ว

    Nice job can you give me more informations about this projet please

  • @kartikpandey5335
    @kartikpandey5335 4 ปีที่แล้ว

    Hi Clemens wonderful project could you help me build one with understanding the controllers (hardware) linked to the software .

  • @ozcankosar6206
    @ozcankosar6206 ปีที่แล้ว

    Do you share source?

  • @kunalgokhe6158
    @kunalgokhe6158 6 ปีที่แล้ว

    Can I get code ??

  • @thesolderingiron7698
    @thesolderingiron7698 ปีที่แล้ว

    can you give us the code

  • @imustafajamal
    @imustafajamal 4 ปีที่แล้ว

    How can I contact with you?

    • @user-td8hv6rl2i
      @user-td8hv6rl2i 4 ปีที่แล้ว

      I will tell him 12 nights at night, and that Shallah, we will not disagree on the price

  • @8starsAND
    @8starsAND 7 ปีที่แล้ว +26

    If it's 4,5 m/s I'm Cristiano Ronaldo...

  • @KhayyamAbdullah
    @KhayyamAbdullah 6 ปีที่แล้ว +1

    HI. Can you send me the code?

  • @realaxis2562
    @realaxis2562 5 ปีที่แล้ว

    Which camera u have used?

    • @ClemensElflein
      @ClemensElflein  5 ปีที่แล้ว +1

      Asus Xtion Pro, I wouldn't recommend it anymore though

    • @realaxis2562
      @realaxis2562 5 ปีที่แล้ว

      @@ClemensElflein thank you so much

  • @shree_shabari1411
    @shree_shabari1411 3 หลายเดือนก่อน

    Sir give me arudino program please 🙏🙏🙏

  • @joshuaalli4499
    @joshuaalli4499 6 ปีที่แล้ว

    Great project. may i see ur code?

  • @kerimuslu5216
    @kerimuslu5216 2 ปีที่แล้ว

    If not sharing the codes, what is the meaning of showing us this video

  • @MinecraftLetstime
    @MinecraftLetstime 5 ปีที่แล้ว +3

    Am I missing something? Why is the author not sharing this project? Contribute to learning and development by contributing your work... Is he really that selfish? Hasn't even explained the method or what is used....

  • @johanelmander3787
    @johanelmander3787 5 ปีที่แล้ว

    Completely fake.

    • @ClemensElflein
      @ClemensElflein  5 ปีที่แล้ว +4

      I'll take that as a compliment 😊