OpenCV Python Tutorial #6 - Corner Detection

  Рет қаралды 67,974

Tech With Tim

Tech With Tim

Күн бұрын

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 KZbin 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

Пікірлер: 83
@LyingParachute
@LyingParachute 3 жыл бұрын
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! :)
@cjay9615
@cjay9615 2 жыл бұрын
Don't stop making these videos, some of the best python tutorials on the whole of youtube!!!
@Joker4funify
@Joker4funify 3 жыл бұрын
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.
@daymaker_bybit
@daymaker_bybit 2 жыл бұрын
Thank you Tim. You're so good as a teacher. Everything is clear and so fun to learn. Best wishes!
@breathemath4757
@breathemath4757 2 жыл бұрын
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)]
@youhadayoub9567
@youhadayoub9567 2 жыл бұрын
Thank you a lot, I m really injoying your lessons , thank u for the simplicity.
@faizalimuhammadzoda4731
@faizalimuhammadzoda4731 3 жыл бұрын
This is absolutely amazing. Greetings from Asia.
@bongvatana6803
@bongvatana6803 3 жыл бұрын
Love this tutorial
@mrphatmanzach
@mrphatmanzach 3 жыл бұрын
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!
@29namankumar29
@29namankumar29 3 жыл бұрын
Great video Tim👌✌️
@JM_Tushe
@JM_Tushe Жыл бұрын
That's pretty cool, thank you!
@vanchhitdubey
@vanchhitdubey 2 жыл бұрын
Just wanted to tell you: you are amazing.
@priyangshu7767
@priyangshu7767 Жыл бұрын
Love your work
@davidjack5876
@davidjack5876 2 жыл бұрын
just wanted to leave this here: "good features to track" was the name of the paper publishing this improved corner detection method
@PeterPkp123
@PeterPkp123 3 жыл бұрын
I love your videos
@learnwithnawf246
@learnwithnawf246 3 жыл бұрын
Thank you tim
@pythonSefer
@pythonSefer 3 жыл бұрын
Hi Tim I just wanted to suggest a video idea for you: Make a tutorial about the vim text editor
@greenmug6436
@greenmug6436 3 жыл бұрын
just type vimtutor in the terminal
@journalist272
@journalist272 3 жыл бұрын
Good job man
@jollokim1948
@jollokim1948 3 жыл бұрын
looking forward to the next video 😏
@BananaLassi
@BananaLassi 2 жыл бұрын
loved it
@DavidDanosTech
@DavidDanosTech Жыл бұрын
Nice !!!!
@fionanathanson6580
@fionanathanson6580 3 жыл бұрын
Nice video 👍
@gustavojuantorena
@gustavojuantorena 3 жыл бұрын
Great!
@petr4720
@petr4720 3 жыл бұрын
Top video
@syedazzamzafar596
@syedazzamzafar596 3 жыл бұрын
@Tech With Tim The top right corner is left out. there is no line going or emerging from that corner.
@standingpad
@standingpad 3 жыл бұрын
Will there be a image denoiser tutorial?
@cagndurmus2387
@cagndurmus2387 2 жыл бұрын
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?
@NoahPeeters
@NoahPeeters 3 жыл бұрын
Could you make a video on image alignment using openCV?
@numo6144
@numo6144 Жыл бұрын
you can simply write corners = list(map(np.ravel, corners))
@numo6144
@numo6144 Жыл бұрын
and also rc = tuple(map(int, np.random.randint(0, 255, size=3)))
@unbox3346
@unbox3346 3 жыл бұрын
I was feeling first before refreshing page
@georgegu3374
@georgegu3374 7 ай бұрын
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
@user-yp9mh9wc9w
@user-yp9mh9wc9w 9 ай бұрын
@techwithtim the python documentation in the description is not working are there any other websites for that?
@malek3764
@malek3764 3 жыл бұрын
Hey Tim, I think you forgot to add the "OpenCV Python Tutorial #5 - Colors and Color Detection" video to this playlist
@MrHellmeowmix
@MrHellmeowmix 2 жыл бұрын
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
@user-ih4ho1wh5h
@user-ih4ho1wh5h 3 жыл бұрын
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.
@TechWithTim
@TechWithTim 3 жыл бұрын
Oh good point! I could have actually just passed “int” as the function
@keyaanminhas1199
@keyaanminhas1199 3 жыл бұрын
When are we learning about object detection from images
@sitpainghtun5367
@sitpainghtun5367 3 жыл бұрын
Could you explain me a little more about second for loop ( for j in range(i+1), corners) )
@tusharikajoshi8410
@tusharikajoshi8410 2 жыл бұрын
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.
@maliklao8917
@maliklao8917 3 жыл бұрын
can you do a program about scanner like MFL tank floor scanner in python
@Ambiens
@Ambiens 3 жыл бұрын
I've just watched the 7th part and now 6th is the latest. Accidentally published?
@TechWithTim
@TechWithTim 3 жыл бұрын
yep lol
@aayushpaswan6826
@aayushpaswan6826 3 жыл бұрын
@@TechWithTim nice!!
@senahugtfl7789
@senahugtfl7789 Жыл бұрын
hi tim!it gives me the error like that: size.width>0 && size.height>0 in function 'cv::imshow' Could you help me please?
@itfather
@itfather 3 жыл бұрын
Hello Tim, could you please make a video with opencv OCR for the next video? Like if you support this idea
@kesiamakapele3454
@kesiamakapele3454 3 жыл бұрын
Hey dude,can you make screen recorded for android and can record internal audio
@yasthirdhewnarian6531
@yasthirdhewnarian6531 3 жыл бұрын
In Sublime Text, how exactly are you able to view the package methods ? Mine doesn't display that
@sokainabn6764
@sokainabn6764 2 жыл бұрын
he's using Kite, an auto-complete plugin
@Aditya-cw7rd
@Aditya-cw7rd 3 жыл бұрын
can you please make a step by step guide on how to start freelance as only python programming on fiverr or other?
@erfansadeghinezhad9780
@erfansadeghinezhad9780 3 жыл бұрын
😍😍😍😍😍😍
@jyothishmohan5613
@jyothishmohan5613 3 жыл бұрын
cv2.imread('assets/chessboard.png', 0) will give a grey scale image..I Think
@oliviervanluijk4133
@oliviervanluijk4133 3 жыл бұрын
0 is grayscale, 1 is color
@vishnuagrahari5153
@vishnuagrahari5153 2 ай бұрын
Documentation link is not working please update it
@manas1743
@manas1743 2 жыл бұрын
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.
@ankitpatil3490
@ankitpatil3490 2 жыл бұрын
I'm looking for it to
@manas1743
@manas1743 2 жыл бұрын
@@ankitpatil3490 Ok, I found it, would sen the link once I open my laptop
@ankitpatil3490
@ankitpatil3490 2 жыл бұрын
ok thanks.
@irfanzafar9506
@irfanzafar9506 2 жыл бұрын
@@manas1743 Kindly send me also . Thanks in advance for the favour.
@vinamis
@vinamis 3 жыл бұрын
lambda must be in lowercase vs Lambda Tx Twt
@Bbdu75yg
@Bbdu75yg 2 жыл бұрын
can't access the documentation from the video ://
@pythonenthusiast9292
@pythonenthusiast9292 3 жыл бұрын
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
@adityak1231
@adityak1231 3 жыл бұрын
Can you import it in your Terminal/cmd ?
@pythonenthusiast9292
@pythonenthusiast9292 3 жыл бұрын
@@adityak1231 no ! It shows there also that no module found
@pythonenthusiast9292
@pythonenthusiast9292 3 жыл бұрын
@@adityak1231 and when I reinstall the opencv it shows requirement satisfied.. I'm so confused
@adityak1231
@adityak1231 3 жыл бұрын
Try upgrading pip to the latest version and reinstalling it
@pythonenthusiast9292
@pythonenthusiast9292 3 жыл бұрын
@@adityak1231 I did try that, still nothing
@piranavanr9096
@piranavanr9096 2 жыл бұрын
I don't get any lines i don't know where I don't mistake any one tell me pls 🙏
@rayaanibrahim4808
@rayaanibrahim4808 3 жыл бұрын
yay 5th
@sanduchicu7545
@sanduchicu7545 3 жыл бұрын
901 view, 101 like :)
@prasannan-robots
@prasannan-robots 3 жыл бұрын
This time im not first im 9th
@Jdeadevil
@Jdeadevil Жыл бұрын
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.
@coolghoul9
@coolghoul9 Ай бұрын
is it boring or you dont understand it, 1min later you try to explain boring hypotenuse
@saucecircuit9992
@saucecircuit9992 2 жыл бұрын
Smart guy but terrible teacher
OpenCV Python Tutorial #7 - Template Matching (Object Detection)
22:22
Marcos Machado Louvando ao Senhor Jesus ❤️🙌
2:07
MARCOS MACHADO
Рет қаралды 548
ELE QUEBROU A TAÇA DE FUTEBOL
00:45
Matheus Kriwat
Рет қаралды 35 МЛН
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 28 МЛН
Beautiful Soup 4 Tutorial #4 - Finding The Best GPU Prices
27:41
Tech With Tim
Рет қаралды 67 М.
Corner Detection | Edge Detection
14:58
First Principles of Computer Vision
Рет қаралды 75 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 147 М.
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 40 М.
Variational Autoencoders
15:05
Arxiv Insights
Рет қаралды 477 М.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 259 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,4 МЛН
OpenCV Python Tutorial #1 - Introduction & Images
14:52
Tech With Tim
Рет қаралды 329 М.