Lines detection with Hough Transform - OpenCV 3.4 with python 3 Tutorial 21

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

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

  • @pysource-com
    @pysource-com  2 ปีที่แล้ว +1

    ►► You can Build a Computer Vision software to DETECT and TRACK any Object.
    → 4-Step FREE Workshop pysource.com/blueprint-workshop-signup/

  • @hjr4692
    @hjr4692 6 ปีที่แล้ว +10

    You are a professional!

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

    The simplest way to detect road lines i've seen, thanks man you the best !

  • @innocentokoloko
    @innocentokoloko 6 ปีที่แล้ว +2

    Great! Simple and clear.

  • @Yoonji491
    @Yoonji491 6 ปีที่แล้ว +2

    Thank you so much for this tutorial! It helped me a lot!

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

    Awesome video and explanation. Thank you!

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

    Not sure if you are still checking out comments on this old video, but, it was Great, thanks! Also wanted to know if I could find lines on other than roads with painted lines, for instance determine edge of off road paths or dirt roads. Guess I could get copy this code then check it.

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

    Thank you sir, you help me:)

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

    How can we detect object and lane both at the same time .for example the video u used to implement lane detection there is many objects infront of the car for example motor cycle .How can detect that too.????

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

    Awesome video although there were a lot of errors with the explanation since in some points ur just reading outloud your code. There were also some optimizations that could be done and make ur code more clear

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

    WOw nice thinking !. Great Tutorial! Thanks

  • @rakeshkumar-us1yy
    @rakeshkumar-us1yy 6 ปีที่แล้ว +1

    thank you sir!!!

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

    THANK YOU!

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

    thank you

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

    Fantastic video, now can you measure the distance between two lines and pick ether vertical or horizontal lines?

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

    great !!!

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

    Cool project

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

    i like your chanel .

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

    thank you brother ;) gooood

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

    Please make a video on traffic signal detection

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

    How can I detect yellow as well as white lane lines?

  • @athesh.p3280
    @athesh.p3280 6 ปีที่แล้ว +3

    Sir, i want to detect the radius of curvature of the road.i.e turning of road

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

      try this one: github.com/OanaGaskey/Advanced-Lane-Detection

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

    can u please tell how to apply tensor flow in it to detect cars too

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

    Sir..
    I am working on cut detection in running surface having black color.
    How can I detect cut in black surface and I want to refuse few cuts/marks in detection.

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

    can we use this method to detect walls in 2D floor plans?

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

    Hi do you think it could be possible to detect lane lines colours with hough's transform?

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

    hsv array for detecting black color lane, so please give me solution for this...?

  • @ВигенОганесян-к3в
    @ВигенОганесян-к3в 6 ปีที่แล้ว

    That's fine!

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

    white lines are hard to detect, right? as the sky is very bright too, not only the traffic lines will be drawn by our lines.

  • @МартинТемелакиев
    @МартинТемелакиев 3 ปีที่แล้ว

    where you've been, god damn it, finally a useful youtube channel! sub += 1

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

    what should be values if i want to detect white lines

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

    which road dataset is used in this tutorial

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

    I m getting an error while doing Hough circle transform....that no module name HOUGH_GRADIENT..can you tell me why?...using python 2.7 version

  • @SaeedAlFalasi
    @SaeedAlFalasi 6 ปีที่แล้ว +7

    We need python to detect idiots before they make decide to turn into my lane

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

    this is perfect, but it doesn't work on other videos. How can I make the same algorithm to work on multiple videos?

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

      you need to ad some trackbars and play around with the values while the video is running

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

      @@chris_sndw or build a deep learning model...

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

    hi, sir.i am working on a real-time image based herbicide applicator. I will have to detect green colour(weed) from soil background and apply herbicide. My problem is under varying lightning condition how can fix the threshold value to detect green colour. How can I make a robust system that can work under different conditions?

    • @pysource-com
      @pysource-com  6 ปีที่แล้ว +4

      If you want to create a robus system to work with different lightening condition, using a threshold value of the green color is not a good approach.
      You should create a more advanced application using machine learning and train it with a lot of samples under different lightening conditions.

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

    what does HoughLinesP return?

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

    Thanks a lot!
    Are you Italian?

    • @pysource-com
      @pysource-com  5 ปีที่แล้ว

      Yes, I guess you found it out from my strong accent :)

    • @NisseOhlsen
      @NisseOhlsen 5 ปีที่แล้ว +2

      @@pysource-com nono! from the elegant explanation!

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

    If any object or car with yellow color came in the video, then this code is drawing lines over them.
    can I refuse to draw these unwanted lines?

    • @pysource-com
      @pysource-com  5 ปีที่แล้ว

      Yes, a yellow object in this case interferes with the lines detection. This is a really rough approach written with only a few lines of code, it still needs a lot of work and to be polished to be used in real applications.

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

    sir i want circle count ....plz can you explain me

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

      import cv2
      import numpy as np
      img = cv2.imread('cir.png',0)
      img = cv2.medianBlur(img,5)
      cimg = cv2.cvtColor(img,cv2.COLOR_GRAY2BGR)
      circles = cv2.HoughCircles(img,cv2.HOUGH_GRADIENT,1,20,
      param1=50,param2=30,minRadius=0,maxRadius=0)
      c = 0 #c = number_Of_circles
      circles = np.uint16(np.around(circles))
      for i in circles[0,:]:
      # draw the outer circle
      cv2.circle(cimg,(i[0],i[1]),i[2],(0,255,0),2)
      # draw the center of the circle
      cv2.circle(cimg,(i[0],i[1]),2,(0,0,255),3)
      c = c+1
      print (c)
      cv2.imshow('detected circles',cimg)
      cv2.waitKey(0)
      cv2.destroyAllWindows()

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

    what about the curve???

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

      f+

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

      may I help to answer, better we slow down the car to get more smooth at curve

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

    your frame rate decreased after lane detection i am facing similar issue

  • @RizwanAli-ki3bx
    @RizwanAli-ki3bx 5 ปีที่แล้ว +1

    How can i get the rgb value of a line in an image?

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

      You can generate 6 trackbars in order to detect the object
      Because , there're 6 color in HSV
      then , you create a mask, change the colors until there's only your object appear on mask