OpenCV Python Tutorial #1 - Introduction & Images

Welcome to a brand new series on OpenCV and Python. I'll start this episode with a quick introduction to OpenCV, in case some of your aren't familiar with it. I'll also talk about how to install OpenCV, loading an image into OpenCV, as well as manipulating 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...
📺 Fix Pip on Windows: • How to Install Pygame ...
📺 Fix Pip on Mac: • How to Install Pygame ...
🔍 Playlist: • OpenCV Python Tutorials
⭐️ Timestamps ⭐️
00:00 | Introduction & Series Overview
01:46 | Installation & Setup
05:45 | Loading an Image
07:56 | Displaying an Image
10:35 | Resizing an Image
12:45 | Rotating an Image
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 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 KZread 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 ⭐️
- Images within OpenCV
- How to install OpenCV
- Python
- Computer vision
- Pip on Windows Mac
⭐️ Hashtags ⭐️
#OpenCV #Python

Пікірлер: 396

  • @fabioafdo
    @fabioafdo2 жыл бұрын

    I think this is the best looking coding video I've ever seen. Coding videos tend to be very dry, but the way you highlight the commands in that little popup window and direct the attention to what you're doing really makes the video feel good to watch. Kudos!

  • @jaredhorton1636
    @jaredhorton16363 жыл бұрын

    I'll definitely be binge watching this series. Super clear, concise, and interesting. Perfect for beginners

  • @sakethgupta2885
    @sakethgupta28853 жыл бұрын

    It's official, tim can read every subscriber's mind. I was searching for this tutorial a few days back and here it is. Love you tim!

  • @ojasdillikar4738
    @ojasdillikar47383 жыл бұрын

    YEAH YEAH YEAH YEAH GOOO TTIMMMM, PLEASE CONTINUE THIS ENTIRE SERIES

  • @raymondmichael4987

    @raymondmichael4987

    3 жыл бұрын

    I hope he'll not ditch this along the way

  • @pythonenthusiast9292

    @pythonenthusiast9292

    3 жыл бұрын

    i feel the same

  • @vbgamingstudios5701

    @vbgamingstudios5701

    3 жыл бұрын

    Yes pls tim

  • @aaravgp1332

    @aaravgp1332

    3 жыл бұрын

    @@raymondmichael4987 has that ever happened?

  • @raymondmichael4987

    @raymondmichael4987

    3 жыл бұрын

    @@aaravgp1332, yes

  • @shantanuroy9408
    @shantanuroy94083 жыл бұрын

    Thank you Tim for starting this new OpenCV computer vision series. Looking forward to some unique and amazing projects related to it. Keep Going.

  • @call_a_mari
    @call_a_mari3 жыл бұрын

    OpenCV is even easier to understand than I anticipated! Can't wait to see this series through - Thanks Tim!

  • @premagarwal_iitkgp

    @premagarwal_iitkgp

    2 жыл бұрын

    OpenCV is not easy....it's the art of teaching that you find anything easy or hard.

  • @courageouscuber9278

    @courageouscuber9278

    2 жыл бұрын

    @@premagarwal_iitkgp I was going to say the same thing! Sometimes I think I'm dumb because I can't understand something in math, but then I watch a calculus video on khan academy or something, and I instantly understand. This guy teaches it very well which makes it a whole lot more fun and I understand much better.

  • @derekwest8636
    @derekwest86362 жыл бұрын

    Your tutorials are perfect for that initial exposure. Love your stuff Tim

  • @rolandocruz1695
    @rolandocruz16953 жыл бұрын

    I’m so hyped for this series LETS GOOOOOO

  • @codewithlenny
    @codewithlenny3 жыл бұрын

    This channel couldn't get any bigger. Thank you Tim for the regular uploads.

  • @dimitrijecabarkapa9085
    @dimitrijecabarkapa90853 жыл бұрын

    Hi Tim, I've been following you for some time now and I think this is one of the best tutorial series you could create. I'm also University student and I wanna build my own project with text recognition so I would love to see some tutorials on TEXT RECOGNITION, bye!

  • @dagarotwitch8435
    @dagarotwitch84352 жыл бұрын

    Before I looked at OpenCV code without understanding a single thing I was so confused Now that I've understood the basics its started to become MUCH more clear Thanks a lot!

  • @ruthvikbheemidi
    @ruthvikbheemidi3 жыл бұрын

    Yes, this is what i am looking for, please continue the episode.

  • @girugaymesh
    @girugaymesh3 жыл бұрын

    Amazing, thank you so much for this series already! My suggestion for future topics is edge detection plus calculating the distance(s) between edges. For example, distance between center points of 2 edges, distances from one ending / starting point of edge A to ending / starting point of edge B. Cheers!

  • @Rishikesh-24
    @Rishikesh-243 жыл бұрын

    Finally the video I wanted from you 😀❤️

  • @pratikshatheodore3008
    @pratikshatheodore30086 ай бұрын

    Its 1AM right now in India and I'm just casually binge watching your videos to take ideas for my next CV project. TWT is the best channel ever for all these machine learning and AI related projects and learning.

  • @banerjeetathagat
    @banerjeetathagat3 жыл бұрын

    Looking forward for this series to grow. Please consider the following topics, would be great help. Image segmentation SLAM using open cv Image analytics

  • @vikaspal2799
    @vikaspal27992 жыл бұрын

    Could not find a good opencv tutorial, thanks Tim! Please continue this series

  • @NuwaHWeil
    @NuwaHWeil2 жыл бұрын

    Please continue the course, your courses are the best❤️

  • @ath0rus
    @ath0rus2 жыл бұрын

    I have been looking for a really good OpenCV series for ages and when i found this by the amazing TWT, i was like this is amazing. I am going to be sharing this in a few coding servers i help in

  • @gustavojuantorena
    @gustavojuantorena3 жыл бұрын

    Yeah!! Awesome series! 😎 I really want full stack computer vision projects with deployment. Thank you!

  • @benjaminaboagye9846
    @benjaminaboagye98463 жыл бұрын

    Just when I wanted to do an OpenCV project, Tim showed up!!!

  • @stasandr872
    @stasandr8723 жыл бұрын

    Thank you Tim! Please continue your lectures- best stuff in youtube

  • @Psychetwo
    @Psychetwo2 жыл бұрын

    This was actually quite interesting! very great first tutorial for beginners to opencv! Was able to follow along. Going on to Tutorial #2 :) Thank you for making these python videos!

  • @jamikemichelohia2615
    @jamikemichelohia26153 жыл бұрын

    Not gonna lie, I wanted to learn OpenCV, tried to learn on youtube a couple years ago, and decided to wait for time to upload. Already learnt a ton from the Django + react full-stack course :)

  • @ardapy
    @ardapy2 жыл бұрын

    Every single video of Tim is priceless! I hope your dreams come true sir!

  • @Phantom-fi8sc
    @Phantom-fi8sc3 жыл бұрын

    was waiting for this series from tim for ages

  • @Wolf-if1bt
    @Wolf-if1bt Жыл бұрын

    Really nice explainations : short and clear. I'm more a C++ programmer and I'm astonished to see how concise python can be to manipulate arrays.

  • @Dhanush-zj7mf
    @Dhanush-zj7mf3 жыл бұрын

    Waiting for this. Finally please continue this series... Please upload more videos in this series❤️❤️❤️😀😀.. Want to learn this from so many months... Please upload more videos on this.... Go deep in open cv...

  • @ftballhub
    @ftballhub2 ай бұрын

    Thanks Tim for this awesome video. I realised that the parameter passed in the waitKey function is in milliseconds not seconds and so to display the image for 5seconds, you'd need to write waitKey(5000). Thanks so much once again.

  • @Hazzel31337
    @Hazzel313373 жыл бұрын

    OpenCv and its opportunities are countless and great, cant wait to see, hear and learn about it from you :)

  • @septronic2010
    @septronic20103 жыл бұрын

    Wonderful series and super psyched. Thanks a lot for starting this. One thing I’d love to see is object detection in a video content, whereby we could detect unknown (and known) objects in a video. If you could do something with that, I’d watch them fur.sure. Thanks and looking forewords to all the new vids.

  • @rubyoffrails
    @rubyoffrails3 жыл бұрын

    Good stuff. Looking forward to the rest of the series.

  • @manishbolbanda9872
    @manishbolbanda98723 жыл бұрын

    The series i was waiting for.i just wanted to know that in much days you would cover this series to much advanced level

  • @salhjasa
    @salhjasa3 жыл бұрын

    Just yesterday I started with opencv. This will be much better to understand it than the book I am using it hahahah. Thank you Tim big fan of your work.

  • @denilbhatt1005
    @denilbhatt10053 жыл бұрын

    Surely we would love it to continue..❤️❤️

  • @lucarampini6943
    @lucarampini69433 жыл бұрын

    This is the series I have been wating for long time!

  • @loganrowe1727
    @loganrowe17273 жыл бұрын

    Easy to follow as always - keep up the good work. Would be interesting to learn how to read, edit, and display video with opencv.

  • @belveloper
    @belveloper3 жыл бұрын

    please try to continue this tutorial we really need it and i like the way you explain good job i appreciate

  • @abrafgesvbeac3676
    @abrafgesvbeac36762 жыл бұрын

    Thank you for this series. Fantastic!

  • @droneguy69
    @droneguy692 жыл бұрын

    Finally. Just the video series that I need.

  • @anirudhkumar7477
    @anirudhkumar74779 ай бұрын

    Amazing tutorial! Precise and concise. Thank you loads man

  • @phamminhhung3219
    @phamminhhung32193 жыл бұрын

    actually the time we put into the 'waitkey()' has unit of millisecond and your video is super cool !!!

  • @320adikos
    @320adikos3 жыл бұрын

    Two months ago I defended my MA thesis. Topic: "Automatic recognition of stickers used in the production process." (Recognizing the number on the sticker) I investigated three different methods: OpenCV - matchTemplate, OpenCV - SIFT descriptors, and finally neural networks (tensorflow, convolutional neural networks). Problems to solve: rotated images, wrong perspective, etc. I would love to see something like this in your performance, as well as methods for recognizing text from photos. Nice tutorial!

  • @adrishmitra9809
    @adrishmitra98093 жыл бұрын

    Most awaited series. Thank you Tim. ❤️ From India.

  • @legalspiderman200
    @legalspiderman2003 жыл бұрын

    Perfect timing, Tim! Keep it up!

  • @py_tok5589
    @py_tok55893 жыл бұрын

    I ALREADY USE OPEN CV, BUT THIS tutorial is quite practical for me, kudos TIM

  • @yourmarketingbro
    @yourmarketingbroАй бұрын

    Thanks TWT your channel is like a goldmine for lots and lots of us

  • @sakethgupta2885
    @sakethgupta28853 жыл бұрын

    I wish tim could get an award. Dang it, am waiting for the 1M sub party!!

  • @aHardReset
    @aHardReset3 жыл бұрын

    I already know Opencv but if tim will do a series for this. Damn I'll learn it again.

  • @user-yl4zs7go6p
    @user-yl4zs7go6p6 ай бұрын

    wow this is so great. i tried learning opencv by reading some pdfs but it was boring so i searched it on youtube and found you

  • @gourabchakraborty4064
    @gourabchakraborty40642 жыл бұрын

    Hi Tim, thanks for making these tutorial videos, really helpful in my project work. Will it be possible to make some tutorials related to image processing and image recognition? Particularly those on how to distinguish between overlapping images (e.g bright spots detected on camera)?

  • @alanmunoz3755
    @alanmunoz37553 жыл бұрын

    Thanks tim You are an inspiration to all of us

  • @lifesgood5065
    @lifesgood50653 жыл бұрын

    Let's go Been waiting for this series for ages

  • @jameswilkinson8851
    @jameswilkinson88513 жыл бұрын

    Hi Tim. Excellent tutorial. Thanks for creating it.

  • @anthonytoufic3790
    @anthonytoufic37903 жыл бұрын

    Keep going i am really excited

  • @godetarnaud1005
    @godetarnaud10053 жыл бұрын

    I recently started getting really hyped about learning AI thanks to the netflix series "Start-up" where the main character makes a really good visual recognition AI that can describe what it sees and that's why I started doing your tutorial on Flappy bird to learn a bit about neat ai. One thing I would love to see in this series of tutorial would be a project that can categorize somehow what it sees on the webcam, for example showing a train. I think ml5js can do something like that (I didn't learn it yet but I remember seeing something of the kind made by Dan Shiffman

  • @amanparikh2009
    @amanparikh20093 жыл бұрын

    Thanks for a tutorial on OpenCV!! Needed it a lot THANKS!!!!!!

  • @teerath1000
    @teerath10002 жыл бұрын

    very well explained. Pease make complete series

  • @amandathompson9697
    @amandathompson96973 жыл бұрын

    Super excited for this!!

  • @shohjahonhamraqulov8439
    @shohjahonhamraqulov84393 жыл бұрын

    TIM, REALLY GOOD WORK BROTHER. KEEP ON, I REALLY LIKE OPENCV. YOU MADE THAT, THANK YOU!!!😀

  • @guillaumegillard8852
    @guillaumegillard88523 жыл бұрын

    Hey Tim, A big thanks for this series I was waiting for that for so long. I have watched other tutorials but they were so boring so thanks! I think it's gonna help a lot of peoples. Can you introduce a bit of TensorFlow in this series and how to make object detection with open cv? Big thumb up!

  • @ranianourelhouda6146
    @ranianourelhouda61462 жыл бұрын

    Thank you TIM Very clear explanation ❤️

  • @PradeepKumar-ld5ns
    @PradeepKumar-ld5ns3 жыл бұрын

    Yes Please make more videos in this series..

  • @aryacarbassi
    @aryacarbassi6 ай бұрын

    Hi there, thanks a lot for your helpful lessons. I will be watching this useful series on opencv.

  • @user-cy8vm8mh7x
    @user-cy8vm8mh7x3 жыл бұрын

    Im 14 from UAE and u have helped me so much i just want to Thank You

  • @footballistaedit25
    @footballistaedit252 жыл бұрын

    I love your channel, Man. Please do another great playlist

  • @yehbruh667
    @yehbruh6673 жыл бұрын

    I was just searching about it...and u come up with this... Awesome 😘

  • @ihsanshafi1047
    @ihsanshafi10473 жыл бұрын

    its kinda weird how this tutorial took so long to arrive keep it up man 😁

  • @alexeiliska8196
    @alexeiliska81969 ай бұрын

    Thank you so much super helpful tutorial

  • @danylipsker
    @danylipsker3 жыл бұрын

    thanks for the tutorial, i wait for the rest

  • @LibreLobo
    @LibreLobo3 жыл бұрын

    Very interesting! Thank you very much Tim!

  • @veerajaveeraesh4356
    @veerajaveeraesh43563 жыл бұрын

    Almost everyone on KZread finish an opencv course by doing facial recog using haar cascade.....would be interesting and unique to see you teach something new and something epic.

  • @akashkumarbehera2037
    @akashkumarbehera203728 күн бұрын

    superb explanation

  • @kewtomrao
    @kewtomrao3 жыл бұрын

    Waiting for this!

  • @orvildsilva6577
    @orvildsilva65773 жыл бұрын

    Please make the whole series!

  • @haokaixuan
    @haokaixuan3 жыл бұрын

    Bro i just started learning this and had no idea where to start! TYSM!!! 😃

  • @tevzi06

    @tevzi06

    3 жыл бұрын

    me too

  • @mrpog4644
    @mrpog46442 жыл бұрын

    Amazing man I love your videos keep up the work

  • @tonietwojekonto5219
    @tonietwojekonto52193 жыл бұрын

    Please go with this series

  • @Antonio_Ineba
    @Antonio_Ineba3 жыл бұрын

    hello from Spain , thanks Tim for the video

  • @Lucifer-jl9vh
    @Lucifer-jl9vh Жыл бұрын

    I am impressed!

  • @modaryaghi
    @modaryaghi3 жыл бұрын

    I hope you continue this tutorial. It definitely add a fun and exciting skill to any Python learner even if it's not the major of interest. I have a question: does OpenCV substitute Pillow? Thank you very much.

  • @karanrajput4580
    @karanrajput45803 жыл бұрын

    Please Continue this series

  • @abrarmasumabir3809
    @abrarmasumabir38093 жыл бұрын

    waiting only for you my only reliable python bro...thanks for everything...!

  • @alexmboutchouang8281
    @alexmboutchouang82813 жыл бұрын

    Oh this is what i were was waiting

  • @gearluffy
    @gearluffy3 жыл бұрын

    Yes we need more

  • @danielros7798
    @danielros77983 жыл бұрын

    Finally, thank you very much!

  • @cwansu
    @cwansu3 жыл бұрын

    Please sir continue this series🙏

  • @ananthramvijayaraj4554
    @ananthramvijayaraj45543 жыл бұрын

    I dont really know a lot of OpenCV, but I would like you to explain thresholds properly (not just the syntax), also please make a cool OpenCV project at the end. Love your vids Tim.

  • @RedHeadphone
    @RedHeadphone3 жыл бұрын

    Wow great timing I needed this

  • @amovinci2539
    @amovinci25392 жыл бұрын

    continue this serie !!!!!

  • @jitx2797
    @jitx27973 жыл бұрын

    You are awesome Tim.

  • @stonixgraphics3624
    @stonixgraphics36243 жыл бұрын

    wooow this is super cool TIM keep up

  • @coderrishav
    @coderrishav3 жыл бұрын

    Thanks for the video! 😄

  • @wariare12world95
    @wariare12world953 жыл бұрын

    def be_positive: message = "keep it up man, your tutorials are so good and easy to understand" print(message + "

  • @bxr4231

    @bxr4231

    3 жыл бұрын

    syntax error XD @wariare12 world

  • @danhabib3441

    @danhabib3441

    3 жыл бұрын

    in python the true is written True

  • @henrytheswimmer9453

    @henrytheswimmer9453

    3 жыл бұрын

    stack overflow of positivity

  • @matthewtodd1743

    @matthewtodd1743

    3 жыл бұрын

    Wouldn’t work

  • @ericcrevling3759

    @ericcrevling3759

    3 жыл бұрын

    infinite loop love it haha need the () in the function tho.

  • @machinze_edits
    @machinze_edits3 жыл бұрын

    Waiting for a long time🎉🎉🎉

  • @nomarkunsama2691
    @nomarkunsama26912 жыл бұрын

    Great tutorial Tim

  • @glenn8781
    @glenn87812 жыл бұрын

    14:25 this video WAS very interesting haha. Thanks! Pretty simple and basic introduction to OpenCV

  • @adithyanbenoy5643
    @adithyanbenoy56433 жыл бұрын

    u have a nice voice, bro...btw nice tutorial... ive recommended your channel to others...respect from India;) u r the best!!

  • @parthgoel1084
    @parthgoel10843 жыл бұрын

    Wow! Just when i needed a tutorial on OpenCV, one just pops up! Great videos!!! Thanks

  • @ReMaX2013

    @ReMaX2013

    3 жыл бұрын

    me 222222

  • @Pradeep_Rai_Thota
    @Pradeep_Rai_Thota3 жыл бұрын

    Thanks for doing opencv series Tim. Actually I have a challenge with opencv that how this package will read mouse clicks or text updates in a video