Optical Flow with Lucas-Kanade method - OpenCV 3.4 with python 3 Tutorial 31

  Рет қаралды 47,294

Pysource

Pysource

6 жыл бұрын

source code: pysource.com/2018/05/14/optica...
Get my Object Detection Course: pysource.com/object-detection...
➤ Full Videocourses:
Object Detection: pysource.com/object-detection...
➤ Follow me on:
Instagram: / pysource7
LinkedIn: / pysource
➤ For business inquiries:
pysource.com/contact

Пікірлер: 44
@hannahlambdaa
@hannahlambdaa 3 жыл бұрын
Amazing, it works pretty well!! This was my first dip into Optical flow and I love it... so many applications seem possible. Thank you
@akshobshekhar736
@akshobshekhar736 5 жыл бұрын
Thanks brother, you tutorials are much better than udemy tutorial i bought
@noeltam75
@noeltam75 4 жыл бұрын
Wow... That's very well explained. Thanks man.
@olehmisko9760
@olehmisko9760 5 жыл бұрын
Thank you for this awesome tutorial!
@MrWaimanu
@MrWaimanu 4 жыл бұрын
Thanks for this video, really helpful!
@ekasuryadana3043
@ekasuryadana3043 5 жыл бұрын
Thanks sir, awesome tutorials
@jiuyuanlu4731
@jiuyuanlu4731 5 жыл бұрын
Nice lecturing, I do like it. Thanks
@mamoudousano3354
@mamoudousano3354 5 жыл бұрын
Thanks for all great tutorials, how can i do if i want to chose many points.
@asteroidpark
@asteroidpark 4 жыл бұрын
Thank you for the kind lecture.
@LEI8037
@LEI8037 5 жыл бұрын
Thanks for such a useful video.
@Joy_jester
@Joy_jester 5 жыл бұрын
amazing video ,learnt a lot .
@hikmetcankoseoglu5439
@hikmetcankoseoglu5439 5 жыл бұрын
Do you know any methods for detecting flow of a liquid
@miguelchip9784
@miguelchip9784 5 жыл бұрын
Thanks, this help me a lot...! 👍😃
@aaaa8766
@aaaa8766 3 жыл бұрын
Great content man
@ShivaniAMehta
@ShivaniAMehta 2 жыл бұрын
You explained so well. Thanks a lot for the video. Can you please tell how can I implement Lucas-Kanade for affine and projective transformation?
@dtom989
@dtom989 6 жыл бұрын
Hi, great video, keep it up
@kmashal2
@kmashal2 2 жыл бұрын
How can I track multiple points that I place using mouse ?
@nyomankresna557
@nyomankresna557 3 жыл бұрын
i have a problem with my old points, can you help me?
@ass8ash
@ass8ash 6 жыл бұрын
Awesome! I’m gonna try this out for sure. Is this algorithm restricted to tracking points or can it be extended to ROI’s? I wonder if passing in masks will help the performance
@pysource-com
@pysource-com 6 жыл бұрын
yes definitely you can extended to ROIs! you should use the corner detection to identify the points and then Lucas kanade track the vectors.
@aman11022
@aman11022 3 жыл бұрын
The first time calcOpticalFlowPyrLK is calculating, the old_gray and gray_frame are not consecutive. This is why you see the green point not exactly where you clicked.
@aminbenarieb144
@aminbenarieb144 4 жыл бұрын
Awesome
@mariuspenteliuc
@mariuspenteliuc 6 жыл бұрын
Hi! Could it be the shutter speed why the detection of new points isn't so good? A webcam has a slow shutter speed, so motion blur might become a problem when analyzing fast moving objects.
@pysource-com
@pysource-com 6 жыл бұрын
HI Marius, thanks for this interesting explanation. It's really likely that it affects the detection, considering I'm using the original webcam of my laptop, and so it's not that good.
@1miguelavilagaleana
@1miguelavilagaleana 5 жыл бұрын
Some advice for doing a program that detects risky situations?
@PhrAntoine
@PhrAntoine 3 жыл бұрын
I would suggest using an AI network to identify and know what risky situations are. Then you could use Optical Flow to read the movements in the environment. From there the AI would process and identify if the situation is risky.
@rocktelis111
@rocktelis111 Жыл бұрын
Any help please ? Traceback (most recent call last): File "C:\Users\ppant\Downloads\New folder (8)\lucas-kande.py", line 44, in cv2.circle(frame, (x, y), 5, (0, 255, 0), -1) cv2.error: OpenCV(4.5.5) :-1: error: (-5:Bad argument) in function 'circle' > Overload resolution failed: > - Can't parse 'center'. Sequence item with index 0 has a wrong type > - Can't parse 'center'. Sequence item with index 0 has a wrong type
@nilsb.4076
@nilsb.4076 Жыл бұрын
Hey, you can replace cv2.circle... with cv2.circle(frame,(int(x),int(y)),5,(255,255,0),-1). With Int it works
@user-pc4tr5jv7w
@user-pc4tr5jv7w 5 жыл бұрын
HI! I am a taiwanese student , my english is not so well, but i want to ask a question ,how could i track two points at the same time , I try it myself, but it didnt work ,can you tell me some tips?
@pysource-com
@pysource-com 5 жыл бұрын
You should make a few changes, probably it's easier to write it from scratch if you want make it work for 2 ore more points. I suggest you to take a look at the original docs and experiment with them. opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_video/py_lucas_kanade/py_lucas_kanade.html#lucas-kanade
@user-pc4tr5jv7w
@user-pc4tr5jv7w 5 жыл бұрын
thank you very much! I will read that web page! By the way ,Can I add your facebook or instagram? I am using opencv to do a little project I think i will have some question that I can contact you easier, if you can accept
@ammarbinmadi7175
@ammarbinmadi7175 Жыл бұрын
at 17:57 line 41 I had an error due to x,y being float
@nilsb.4076
@nilsb.4076 Жыл бұрын
Hey, you can replace cv2.circle... with cv2.circle(frame,(int(x),int(y)),5,(255,255,0),-1). With Int it works
@sujitpatil1230
@sujitpatil1230 6 жыл бұрын
hey Pysource,I have working on face detection project in my company. can you help me by make video on how to trace human face please.!!
@bimalgupta3648
@bimalgupta3648 3 жыл бұрын
Now Next Project: Use NLP to remove those annoying barks from this video
@adithyasurs9044
@adithyasurs9044 4 жыл бұрын
How to automatically select the object based on movement
@lamborghinicentenario2497
@lamborghinicentenario2497 4 жыл бұрын
I can send you some code that might be able to help you
@adithyasurs9044
@adithyasurs9044 4 жыл бұрын
Yes it will can you send me the code?
@adithyasurs9044
@adithyasurs9044 4 жыл бұрын
Yes it will can you send me the code?
@lamborghinicentenario2497
@lamborghinicentenario2497 4 жыл бұрын
@@adithyasurs9044 what's your email
@adithyasurs9044
@adithyasurs9044 4 жыл бұрын
@@lamborghinicentenario2497 adithya.s.urs@gmail.com
@Joy_jester
@Joy_jester 5 жыл бұрын
amazing video ,learnt a lot .
Background Subtraction - OpenCV 3.4 with python 3 Tutorial 32
16:32
Optical Flow - Computerphile
8:24
Computerphile
Рет қаралды 102 М.
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 50 МЛН
Me: Don't cross there's cars coming
00:16
LOL
Рет қаралды 15 МЛН
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 32 МЛН
Optical Flow Constraint Equation | Optical Flow
15:17
First Principles of Computer Vision
Рет қаралды 45 М.
Lucas-Kanade Method | Optical Flow
9:11
First Principles of Computer Vision
Рет қаралды 61 М.
Computer Vision: Lecture 08 (Video Analysis (Optical Flow))
42:37
Mohammed Elmogy
Рет қаралды 1 М.
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 138 М.
Motion Detection Made Easy: Optical Flow in OpenCV Python
15:04
Nicolai Nielsen
Рет қаралды 22 М.
ECCV 2020 Best Paper Award | RAFT: A New Deep Network Architecture For Optical Flow | WITH CODE
5:31
What's AI by Louis-François Bouchard
Рет қаралды 15 М.