Lane detection using A deep learning model | hands-on tutorial

Поділитися
Вставка
  • Опубліковано 8 сер 2024
  • in this tutorial 🔥 we will use a convolutional neural networks model in order to automatically detect road lanes, we will do this in under than 40 lines of code making it the simplest lane detection tutorial out there so don't hesitate to leave a like and subscribe to the channel , i need your support .
    🔗 links :
    the files:
    please put these files in one folder
    www.mediafire.com/file/7ehd7a...
    www.mediafire.com/file/w37qt7...
    google colab :
    colab.research.google.com/
    💻 my services are available on Fiverr: www.fiverr.com/mouad2021
    ⏱️ TimeStamps :
    0:00 intro
    0:40 a bit of theory
    2:00 work in google colab
    9:48 work in your PC
    13:22 outro
    🏷️ HashTags:
    #DeepLearning #LaneDetection
  • Наука та технологія

КОМЕНТАРІ • 76

  • @hobby_coding
    @hobby_coding  3 роки тому +16

    don't forget to leave a like and subscribe , thanks for watching .

    • @amirulhakimi8862
      @amirulhakimi8862 Рік тому

      do you know how to fixed problem at 9:04 ? it says 'Lanes' object has no attribute 'recent_fit'

    • @zakariaahmed1767
      @zakariaahmed1767 Рік тому

      @@amirulhakimi8862 use instance object from this class

  • @alhdlakhfdqw
    @alhdlakhfdqw 3 роки тому +1

    thank you so much.really really great video! please keep it up :) subbed!

  • @SatishKumarbvcsatish
    @SatishKumarbvcsatish 2 роки тому +2

    Thank you so much for uploading this video. This is so helpful.💙
    Could you please upload the second part of this video as soon as possible, and could you also explain the already trained lane detection model h5 code?

  • @senaysew8231
    @senaysew8231 2 роки тому

    Awesome work. Thanks for sharing. Could u make the 2nd part pls? I couldn't find through Ur channels👏

  • @dwaneho1347
    @dwaneho1347 3 роки тому +3

    0:45 this is the best visualization I saw to explain how cnn works!

    • @hobby_coding
      @hobby_coding  3 роки тому

      yeah, i thought so myself, a very cool visualization.

  • @ritikkothari2787
    @ritikkothari2787 3 роки тому +3

    Thanks so much … great video and explanation

  • @mohamed_obaya
    @mohamed_obaya 3 роки тому +3

    Nice video , when will the second video be uploaded?

  • @boquangdong
    @boquangdong 3 роки тому +6

    where is the second video? thank you

  • @senaysew8231
    @senaysew8231 2 роки тому +3

    Interesting man! Can you pls upload the 2nd part? Eagerly waiting for it.

  • @pixelblib518
    @pixelblib518 3 роки тому +2

    hi, how ı train my own model for lane detection specifically for your code ?
    thanks in advanced!

  • @chinthayaswanth1420
    @chinthayaswanth1420 2 роки тому +2

    hi,nice video can u modify the noise occured during output.

  • @AbcDef-oe8sj
    @AbcDef-oe8sj 2 роки тому

    hi!
    what changes should i make if i am going to run it on a camera with live feed

  • @ankita5470
    @ankita5470 Місяць тому +1

    the code executed fine and the output video file was generated. but when i played the video the lanes weren't marked with green color, or highlighted in anyway. It looked same as the input video. where could i be missed something ? i followed your code line by line . please help

  • @generalknowledgeandaptitud8095
    @generalknowledgeandaptitud8095 3 роки тому +4

    Please let me know about when you plan to upload the next part
    Also Thank you so much for uploading this video. This is so helpful.💙🤗
    Could you please upload the 2nd part of this video soon, also can you explain the already trained lane detection model h5 code as well?

  • @prithaghosh2943
    @prithaghosh2943 2 роки тому +1

    Can you find the radius of curvature of the lane?

  • @lakshminarayandixit7869
    @lakshminarayandixit7869 2 роки тому

    Hello, i am getting an error in the final code running, it says, "NameError: name 'Lanes' is not defined". Please suggest

  • @chriszhiranyan6141
    @chriszhiranyan6141 2 роки тому

    2nd part? Thank you very much in advance.

  • @hades2504
    @hades2504 2 роки тому +1

    How did you train the model?

  • @saipriyagudla1131
    @saipriyagudla1131 2 роки тому

    Hi sir,
    I am getting error at last part of code
    'Lanes' object has no attribute 'recent_fit'
    Plz tell how to retify this error'

  • @arthurperini
    @arthurperini Рік тому

    Is it possible to use real time with raspberry 4b and tensorflow lite?

  • @munadarweesh6511
    @munadarweesh6511 23 дні тому

    Thank you Sir for the video. I tried to run the code in the video install scipy version does not work

  • @user-yn5sz1qs8p
    @user-yn5sz1qs8p 9 місяців тому +1

    error in last part of the code
    ------>>road_lines not defined
    how are you able to do it????

  • @sagarkumbari4828
    @sagarkumbari4828 2 роки тому

    can you please explain the code? and when you will upload the second video of creating model

  • @SniperUSMC
    @SniperUSMC 2 роки тому

    I don't need to detect a lane, just a line on an STM controller card. Don't need to install a lot of bloatware to do it either.

  • @jayantha4955
    @jayantha4955 7 місяців тому +1

    sir, I am getting an error in google cola

  • @user-iq1gz4hp9n
    @user-iq1gz4hp9n 18 годин тому

    hi i really want to know how to i can create model 'h5'

  • @rofl3958
    @rofl3958 Рік тому

    Could u please upload the second video as welll

  • @mr.professor6338
    @mr.professor6338 2 роки тому

    vid_clip = vid_input.f1_image(road_lines)
    error : 'VideoFileClip' object has no attribute 'f1_image'
    time : 9:04
    what to do?

  • @arnavchoudhary7674
    @arnavchoudhary7674 Рік тому

    I'm not able to access VideoFileClip attribute or function in Moviepy. Anyone else having the same problem? If yes, what's a probable solution?

  • @amirayasmine8490
    @amirayasmine8490 3 роки тому +1

    upload the second video plz

  • @md.tanvirahmed6414
    @md.tanvirahmed6414 2 роки тому

    error occured when want to download this two files from mediafire
    .any problem?

  • @junchin7191
    @junchin7191 3 роки тому +1

    Nice video. What kind of model and CNN has been used here? Can you show how to train the model?

    • @hobby_coding
      @hobby_coding  3 роки тому +2

      hi jun Chin, i'm currently making a video on this subject , stay tuned

    • @gregoire4188
      @gregoire4188 6 місяців тому

      @@hobby_coding is it out yet ?

  • @Tyrone-Ward
    @Tyrone-Ward Рік тому +1

    Do you think using a Google Coral USB Accelerator with an SBC (ie Raspberry Pi 4) could make something that can process real-time lane detection?

  • @diptadipdas8111
    @diptadipdas8111 3 роки тому +1

  • @orjanOvs
    @orjanOvs Рік тому

    Hi
    May i use your lane detection model for a project at my university? Could you also send med the source code for the training of the model? Datasets would also be nice, but i seem to get relatively good results with the provided model. Only want the source code to be able to document how the CNN model was built.
    I would be grateful if we are allowed to use your model and will credit you. This project will not be published in any way, it is just a part of the education.
    Best Regards
    Ørjan
    Mechatronics, UiA Grimstad, Norway

  • @anielalexa6371
    @anielalexa6371 3 роки тому +1

    Nice video! Do You have the git post? This works if it's intersection and no lane lines?

    • @hobby_coding
      @hobby_coding  3 роки тому

      this was designed to work mainly on highways.

  • @sajanadevim5822
    @sajanadevim5822 3 роки тому +2

    Thank you ❤️

  • @SatishKumarbvcsatish
    @SatishKumarbvcsatish 2 роки тому +2

    Could you please make this model run under latest python version? Scipy=1.1.0 is not getting installed under latest python versions.. I am using anaconda framework

    • @sumaajay3825
      @sumaajay3825 5 місяців тому

      Have you tried it iam unable to run it even in scipy 1.10 version

  • @shubhramteke3451
    @shubhramteke3451 Рік тому

    Hey if you got this comment please reply the scipy==1.1.0 is not installing can you suggest something please 🥺🥺

  • @babihalal2553
    @babihalal2553 5 місяців тому

    Hi, would like to know will it be possible to implement this lane detection algorithm on a real time live stream using a esp32 cam?

    • @aisharawat9102
      @aisharawat9102 5 місяців тому

      Hey is it working in real time or not??

  • @user-jb8lt6jc4p
    @user-jb8lt6jc4p 9 місяців тому

    Iam not able to install scipy .how to do it

  • @savior859
    @savior859 2 роки тому

    Where is the next video you talked about fam?

  • @cakemix5877
    @cakemix5877 Рік тому

    What version of Python is this again

  • @someshrewadkar3899
    @someshrewadkar3899 2 роки тому

    bhau tu ha video ka kelas

  • @abdullahn3162
    @abdullahn3162 2 роки тому

    Hello, I am really hoping to get an immediate answer, can I pipeline this system of lane detection later on into my custom yolov5 model ? thanks.

    • @hobby_coding
      @hobby_coding  2 роки тому

      the file contains the weights and biases of the trained network

    • @abdullahn3162
      @abdullahn3162 2 роки тому

      @@hobby_coding I think my question wasn’t clear, I will rephrase it by saying:
      I have an operating yolov5 model, I want to add to it a lane detector model, such that by using a web cam the output will be detecting both vehicles and lanes, is that possible ? Connecting both systems together ?

    • @hobby_coding
      @hobby_coding  2 роки тому

      @@abdullahn3162 i never tried it , i never used yolov5 even , but what i know is that you can always fuse two data sources using a filter to find a more reliable estimation.

    • @abdullahn3162
      @abdullahn3162 2 роки тому

      @@hobby_coding thank you for your very informative tutorial sir, I’ll try to find my way into this problem.
      Best wishes.

  • @md.tanvirahmed6414
    @md.tanvirahmed6414 3 роки тому +1

    Will it work for all road or my own video?

  • @adnanmajeed4825
    @adnanmajeed4825 2 роки тому

    Errors in coding

  • @revathirajendhiran2608
    @revathirajendhiran2608 2 роки тому

    தயவுசெய்து தமிழ் வீடியோ போஸ்ட் பண்ணுங்க அண்ணா . இது my project title 🙏🙏☝️😭😭😭