OpenCV Python Tutorial #6 - Corner Detection
HTML-код
- Опубликовано: 22 май 2024
- Welcome to another OpenCV tutorial! In this OpenCV video, we'll be talking about corner detection. The point is to not just show you the corner detection, but to also introduce some of the interesting algorithms that OpenCV has built in. In this video, we'll only need 3-4 lines of code to find all the corners in an image within OpenCV.
💻 AlgoExpert is the coding interview prep platform that I used to ace my Microsoft and Shopify interviews. Check it out and get a discount on the platform using the code "techwithtim" algoexpert.io/techwithtim
📄 Relevant Documentation: opencv-python-tutroals.readth...
📝 Code For This Series: github.com/techwithtim/OpenCV...
🔍 Playlist: • OpenCV Python Tutorials
⭐️ Timestamps ⭐️
00:00 | Introduction
01:37 | Corner detection
09:42 | Drawing corners
15:04 | Drawing lines between corners
18:35 | Outro
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰
💻 The Fundamentals of Programming w/ Python: tech-with-tim.teachable.com/p...
👕 Merchandise: teespring.com/stores/tech-wit...
🔗 Social Medias 🔗
📸 Instagram: / tech_with_tim
📱 Twitter: / techwithtimm
⭐ Discord: / discord
📝 LinkedIn: / tim-ruscica-82631b179
🌎 Website: techwithtim.net
📂 GitHub: github.com/techwithtim
🔊 Podcast: anchor.fm/tech-with-tim
🎬 My RUclips Gear 🎬
🎥 Main Camera (EOS Canon 90D): amzn.to/3cY23y9
🎥 Secondary Camera (Panasonic Lumix G7): amzn.to/3fl2iEV
📹 Main Lens (EFS 24mm f/2.8): amzn.to/2Yuol5r
🕹 Tripod: amzn.to/3hpSprv
🎤 Main Microphone (Rode NT1): amzn.to/2HrZxXc
🎤 Secondary Microphone (Synco Wireless Lapel System): amzn.to/3e07Swl
🎤 Third Microphone (Rode NTG4+): amzn.to/3oi0v8Z
☀️ Lights: amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): amzn.to/2YpN5vm
🖱 Mouse (Logitech MX Master): amzn.to/2HsmRDN
📸 Webcam (Logitech 1080p Pro): amzn.to/2B2IXcQ
📢 Speaker (Beats Pill): amzn.to/2XYc5ef
🎧 Headphones (Bose Quiet Comfort 35): amzn.to/2MWbl3e
🌞 Lamp (BenQ E-reading Lamp): amzn.to/3e0UCr8
🌞 Secondary Lamp (BenQ Screenbar Plus): amzn.to/30Dtafi
💻 Monitor (BenQ EX2780Q): amzn.to/2HsmUPZ
💻 Monitor (LG Ultrawide 34WN750): amzn.to/3dSD7tS
🎙 Mic Boom Arm (Rode PSA 1): amzn.to/30EZw9m
🎚 Audio Interface (Focusrite Scarlet 4i4): amzn.to/2TjXsih
💸 Donations 💸
💵 One-Time Donations: www.paypal.com/donate?hosted_...
💰 Patreon: / techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
- Corner detection in OpenCV
- Corners OpenCV
- Python
- Computer vision
- Cameras and video capture
⭐️ Hashtags ⭐️
#OpenCV #Python #CameraCapture
Hey Tim. After watching your several videos I noticed, that you struggle breathing while you talk. My girlfriend is a speech therapist and she said that going to this kind of specialist would make your life easier. You should consider implementing simple breathing exercises to prevent larynx disease. It's important, becouse you talk a lot.
Thanks a lot for making courses and tutorials, they're great! :)
Don't stop making these videos, some of the best python tutorials on the whole of youtube!!!
Just in case you're not a fan of the map function, try:
color = [int(x) for x in np.random.randint(0, 255, size=3)]
Thank you Tim. You're so good as a teacher. Everything is clear and so fun to learn. Best wishes!
Hi Tim! It's great that you continue this series. Please continue it, don't ditch it:)
P.S: I'm studying CV at my uni and your tutorials are just gold!
Please, continue them. You are amazing, I'm watching you since 2019.
Instead of the map(lambda... for the np.random.randint you can also tuple a comprehension for the function.
color = tuple(int(x) for x in np.random.randint())
Great video, love your channel!
Thank you a lot, I m really injoying your lessons , thank u for the simplicity.
This is absolutely amazing. Greetings from Asia.
Love this tutorial
Great video Tim👌✌️
Love your work
That's pretty cool, thank you!
Just wanted to tell you: you are amazing.
just wanted to leave this here: "good features to track" was the name of the paper publishing this improved corner detection method
Good job man
I love your videos
Thank you tim
looking forward to the next video 😏
Nice video 👍
loved it
@Tech With Tim The top right corner is left out.
there is no line going or emerging from that corner.
Hi Tim I just wanted to suggest a video idea for you: Make a tutorial about the vim text editor
just type vimtutor in the terminal
Nice !!!!
Great!
Will there be a image denoiser tutorial?
Could you make a video on image alignment using openCV?
@techwithtim
the python documentation in the description is not working are there any other websites for that?
when ı enter the link which is called Relevant Documentation , it says that the page is abondoned . Do you have have a new link of it?
on video cam, always set a fixed white-balance like 5500k. otherwise the color on captured image is changing with ambiant light.
if you with greyscale, it doesn't matter
Top video
The link to the documentation is "abandonded", do you know where I could find that information? I've tried a few google searches but I don't think I'm finding the right ones
When are we learning about object detection from images
you can simply write
corners = list(map(np.ravel, corners))
and also
rc = tuple(map(int, np.random.randint(0, 255, size=3)))
can you do a program about scanner like MFL tank floor scanner in python
Hey Tim, I think you forgot to add the "OpenCV Python Tutorial #5 - Colors and Color Detection" video to this playlist
Could you explain me a little more about second for loop ( for j in range(i+1), corners) )
it's for all the remaining corners. like, suppose i gives the 1st corner, so j will allow hold the value of all the other remaining corners, one by one, so that we can draw line from the 1st corner to every other corner.
I am bad at explaining but I hope it helps.
hi tim!it gives me the error like that:
size.width>0 && size.height>0 in function 'cv::imshow'
Could you help me please?
I am a little confused with the line 19 at 19:59. Why did you use lambda x: int(x) instead of just a regular int(x). I don't use lambdas a lot so I'm wondering if I'm missing something here.
Oh good point! I could have actually just passed “int” as the function
can you please make a step by step guide on how to start freelance as only python programming on fiverr or other?
Hey dude,can you make screen recorded for android and can record internal audio
I was feeling first before refreshing page
Hello Tim, could you please make a video with opencv OCR for the next video? Like if you support this idea
In Sublime Text, how exactly are you able to view the package methods ? Mine doesn't display that
he's using Kite, an auto-complete plugin
Documentation link is not working
please update it
can't access the documentation from the video ://
Can someone again link the documentation. The link in the description says that the project is moved. Even the name of documentation would be enough for a google search.
I'm looking for it to
@@ankitpatil3490 Ok, I found it, would sen the link once I open my laptop
ok thanks.
@@manas1743 Kindly send me also . Thanks in advance for the favour.
cv2.imread('assets/chessboard.png', 0) will give a grey scale image..I Think
0 is grayscale, 1 is color
unable to download opencv man..
I downlosaded from pip install and all other mrthods said by tim .
I tried diffrent youtube videios but im unable to import the library in my IDE.
any help would be appreciated guys. thanks
Can you import it in your Terminal/cmd ?
@@adityak1231 no ! It shows there also that no module found
@@adityak1231 and when I reinstall the opencv it shows requirement satisfied.. I'm so confused
Try upgrading pip to the latest version and reinstalling it
@@adityak1231 I did try that, still nothing
I've just watched the 7th part and now 6th is the latest.
Accidentally published?
yep lol
@@TechWithTim nice!!
I don't get any lines i don't know where I don't mistake any one tell me pls 🙏
😍😍😍😍😍😍
lambda must be in lowercase vs Lambda
Tx Twt
901 view, 101 like :)
This time im not first im 9th
The complexity of the second half of this video is making me swear under my breath. I've met my intellectual limit, I am legitimately too stupid to understand the part where you put lines between each corner.
yay 5th
is it boring or you dont understand it, 1min later you try to explain boring hypotenuse
Smart guy but terrible teacher