[Optical Flow] Vehicle Speed Estimation using OpenCV, Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2020
  • This is the result of measuring vehicle speed using optical flow.
    GitHub: github.com/swhan0329/vehicle_...
    (If you found this video and code helpful, please give me a star on GitHub.)
    E-mail: sue3630@khu.ac.kr
    If you have a question, feel free to send an e-mail.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @ventishiddencentralmilker4429
    @ventishiddencentralmilker4429 7 หลายเดือนก่อน +7

    awesome code, I have a similar project, I need to track and count cars to create a frequency chart of traffic

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

    Woow I am amazed

  • @giorgiolelmi8175
    @giorgiolelmi8175 7 หลายเดือนก่อน +7

    Does this use a stereo camera or is it just a normal camera? Impressive work, Seowoohan.

    • @swhan0329
      @swhan0329  7 หลายเดือนก่อน +5

      This is just normal camera :)

    • @giorgiolelmi8175
      @giorgiolelmi8175 7 หลายเดือนก่อน +2

      Oh okay thank you very much, so it's relative to the camera and the back lanes should get a slower speed measure if you put the camera in the corner like that

    • @swhan0329
      @swhan0329  7 หลายเดือนก่อน +2

      @@giorgiolelmi8175 That's right. You're fully understand, you have to compensate for that in your camera or in your code.

  • @PANDURANG99
    @PANDURANG99 7 หลายเดือนก่อน +5

    Source code

    • @swhan0329
      @swhan0329  7 หลายเดือนก่อน +2

      github.com/swhan0329/vehicle_speed_estimation
      You can refer this code.

  • @agencyforce5244
    @agencyforce5244 2 หลายเดือนก่อน

    How do you create that colored square in opencv like that?

    • @swhan0329
      @swhan0329  2 หลายเดือนก่อน

      Use cv2.polylines() 😊

  • @user-si6bv3kl5g
    @user-si6bv3kl5g ปีที่แล้ว +6

    Hello, my current task is the same as your video. How can I get your relevant code

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

      github.com/swhan0329/vehicle_speed_estimation
      you can visit here.

    • @madansshetty4535
      @madansshetty4535 9 หลายเดือนก่อน

      Did you get that

    • @swhan0329
      @swhan0329  7 หลายเดือนก่อน

      @@madansshetty4535 What does that mean?

  • @ElPolloPolloPollo
    @ElPolloPolloPollo 4 หลายเดือนก่อน

    What happens if a car is shifting lanes right at the detection zone?

    • @swhan0329
      @swhan0329  4 หลายเดือนก่อน

      Then it cannot calculate the speed.

    • @ElPolloPolloPollo
      @ElPolloPolloPollo 4 หลายเดือนก่อน

      @@swhan0329 I don’t know anything about opencv, but maybe you could modify the code with perpendicular lines to the lines you established, and include a conditional so in the event they switch lanes or cross these added lines, then the end line in the other lane gets used. Or you could have additional ending lines that span two lanes for this condition and those get used.
      Just my thought on it! Cool project though.

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

      @@ElPolloPolloPollo Thanks. And right. You need to modify and move the line where you want.

  • @PauloRoberto-vj4jb
    @PauloRoberto-vj4jb 3 หลายเดือนก่อน

    Hey is there any public code? Github? Thanks

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

      github.com/swhan0329/vehicle_speed_estimation
      Here you are

  • @davidesoltys8411
    @davidesoltys8411 6 หลายเดือนก่อน

    Switzerland?

    • @swhan0329
      @swhan0329  6 หลายเดือนก่อน +2

      SouthKorea 🙂