OpenCV Python Tutorial #1 - Introduction & Images

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 มิ.ย. 2024
  • 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 TH-cam 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

  • @ojasdillikar4738
    @ojasdillikar4738 3 ปีที่แล้ว +163

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

  • @jaredhorton1636
    @jaredhorton1636 3 ปีที่แล้ว +46

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

  • @fabioafdo
    @fabioafdo 2 ปีที่แล้ว +4

    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!

  • @call_a_mari
    @call_a_mari 3 ปีที่แล้ว +14

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

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

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

    • @courageouscuber9278
      @courageouscuber9278 2 ปีที่แล้ว +4

      @@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.

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

    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!

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

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

  • @Rishikesh-24
    @Rishikesh-24 3 ปีที่แล้ว +33

    Finally the video I wanted from you 😀❤️

  • @rolandocruz1695
    @rolandocruz1695 3 ปีที่แล้ว +11

    I’m so hyped for this series LETS GOOOOOO

  • @codewithlenny
    @codewithlenny 3 ปีที่แล้ว

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

  • @benjaminaboagye9846
    @benjaminaboagye9846 3 ปีที่แล้ว +15

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

  • @shantanuroy9408
    @shantanuroy9408 3 ปีที่แล้ว

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

  • @Phantom-fi8sc
    @Phantom-fi8sc 3 ปีที่แล้ว +4

    was waiting for this series from tim for ages

  • @ruthvikbheemidi
    @ruthvikbheemidi 3 ปีที่แล้ว +2

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

  • @dagarotwitch8435
    @dagarotwitch8435 2 ปีที่แล้ว

    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!

  • @vikaspal2799
    @vikaspal2799 2 ปีที่แล้ว

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

  • @stasandr872
    @stasandr872 3 ปีที่แล้ว

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

  • @ardapy
    @ardapy 2 ปีที่แล้ว

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

  • @lucarampini6943
    @lucarampini6943 3 ปีที่แล้ว

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

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

    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.

  • @parthgoel1084
    @parthgoel1084 3 ปีที่แล้ว +16

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

    • @ReMaX2013
      @ReMaX2013 3 ปีที่แล้ว

      me 222222

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

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

  • @dimitrijecabarkapa9085
    @dimitrijecabarkapa9085 3 ปีที่แล้ว +3

    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!

  • @anirudhkumar7477
    @anirudhkumar7477 11 หลายเดือนก่อน

    Amazing tutorial! Precise and concise. Thank you loads man

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

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

  • @ftballhub
    @ftballhub 3 หลายเดือนก่อน +1

    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.

  • @lifesgood5065
    @lifesgood5065 3 ปีที่แล้ว

    Let's go Been waiting for this series for ages

  • @NuwaHWeil
    @NuwaHWeil 2 ปีที่แล้ว

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

  • @Hazzel31337
    @Hazzel31337 3 ปีที่แล้ว

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

  • @droneguy69
    @droneguy69 2 ปีที่แล้ว

    Finally. Just the video series that I need.

  • @Psychetwo
    @Psychetwo 2 ปีที่แล้ว

    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!

  • @adrishmitra9809
    @adrishmitra9809 3 ปีที่แล้ว

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

  • @rubyoffrails
    @rubyoffrails 3 ปีที่แล้ว

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

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

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

  • @girugaymesh
    @girugaymesh 3 ปีที่แล้ว

    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!

  • @daymaker_bybit
    @daymaker_bybit 2 ปีที่แล้ว

    Thank you for this series. Fantastic!

  • @legalspiderman200
    @legalspiderman200 3 ปีที่แล้ว

    Perfect timing, Tim! Keep it up!

  • @Dhanush-zj7mf
    @Dhanush-zj7mf 3 ปีที่แล้ว +2

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

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

    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.

  • @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.

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

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

  • @ath0rus
    @ath0rus 2 ปีที่แล้ว

    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

  • @jamikemichelohia2615
    @jamikemichelohia2615 3 ปีที่แล้ว +2

    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 :)

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

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

  • @amanparikh2007
    @amanparikh2007 3 ปีที่แล้ว

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

  • @alanmunoz3755
    @alanmunoz3755 3 ปีที่แล้ว

    Thanks tim
    You are an inspiration to all of us

  • @jameswilkinson8851
    @jameswilkinson8851 3 ปีที่แล้ว

    Hi Tim. Excellent tutorial. Thanks for creating it.

  • @LibreLobo
    @LibreLobo 3 ปีที่แล้ว

    Very interesting! Thank you very much Tim!

  • @ranianourelhouda6146
    @ranianourelhouda6146 2 ปีที่แล้ว

    Thank you TIM
    Very clear explanation ❤️

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

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

  • @yehbruh667
    @yehbruh667 3 ปีที่แล้ว

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

  • @footballistaedit25
    @footballistaedit25 2 ปีที่แล้ว

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

  • @machinze_edits
    @machinze_edits 3 ปีที่แล้ว

    Waiting for a long time🎉🎉🎉

  • @septronic2010
    @septronic2010 3 ปีที่แล้ว

    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.

  • @loganrowe1727
    @loganrowe1727 3 ปีที่แล้ว

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

  • @gourabchakraborty4064
    @gourabchakraborty4064 2 ปีที่แล้ว +5

    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)?

  • @mrpog4644
    @mrpog4644 2 ปีที่แล้ว

    Amazing man I love your videos keep up the work

  • @user-yl4zs7go6p
    @user-yl4zs7go6p 7 หลายเดือนก่อน

    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

  • @py_tok5589
    @py_tok5589 3 ปีที่แล้ว

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

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

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

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

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

  • @amandathompson9697
    @amandathompson9697 3 ปีที่แล้ว

    Super excited for this!!

  • @RedHeadphone
    @RedHeadphone 3 ปีที่แล้ว

    Wow great timing I needed this

  • @guillaumegillard8852
    @guillaumegillard8852 3 ปีที่แล้ว

    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!

  • @alexmboutchouang8281
    @alexmboutchouang8281 3 ปีที่แล้ว

    Oh this is what i were was waiting

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

    Thnx for this series TIM, I'm grateful that I know you 😅 (on YT)

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

      Would be great if you include few of these projects in this series;
      1. Virtual Drums
      a virtual drum that you can play by using a stick in the air.
      2. Face Recognition
      3. Selfie capture app ( takes selfie when you smile)

  • @Antonio_Ineba
    @Antonio_Ineba 3 ปีที่แล้ว

    hello from Spain , thanks Tim for the video

  • @aryacarbassi
    @aryacarbassi 8 หลายเดือนก่อน

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

  • @ihsanshafi1047
    @ihsanshafi1047 3 ปีที่แล้ว

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

  • @teerath1000
    @teerath1000 2 ปีที่แล้ว

    very well explained. Pease make complete series

  • @anthonytoufic3790
    @anthonytoufic3790 3 ปีที่แล้ว

    Keep going
    i am really excited

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

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

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

      me too

  • @belveloper
    @belveloper 3 ปีที่แล้ว

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

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

    wooow this is super cool TIM keep up

  • @phamminhhung3219
    @phamminhhung3219 3 ปีที่แล้ว

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

  • @danylipsker
    @danylipsker 3 ปีที่แล้ว

    thanks for the tutorial, i wait for the rest

  • @wariare12world95
    @wariare12world95 3 ปีที่แล้ว +27

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

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

      syntax error XD @wariare12 world

    • @danhabib3441
      @danhabib3441 3 ปีที่แล้ว +3

      in python the true is written True

    • @henrytheswimmer9453
      @henrytheswimmer9453 3 ปีที่แล้ว +2

      stack overflow of positivity

    • @matthewtodd1743
      @matthewtodd1743 3 ปีที่แล้ว

      Wouldn’t work

    • @ericcrevling3759
      @ericcrevling3759 3 ปีที่แล้ว

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

  • @mrcodercodes7684
    @mrcodercodes7684 3 ปีที่แล้ว +3

    Thanks for this type of tutorial specially for such quality content

  • @danielros7798
    @danielros7798 3 ปีที่แล้ว

    Finally, thank you very much!

  • @user-cy8vm8mh7x
    @user-cy8vm8mh7x 3 ปีที่แล้ว +2

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

  • @nomarkunsama2691
    @nomarkunsama2691 2 ปีที่แล้ว

    Great tutorial Tim

  • @CyberZyro
    @CyberZyro 3 ปีที่แล้ว

    best Quality of video as well as knowledge!! thnx brother 😁😎

  • @abrarmasumabir3809
    @abrarmasumabir3809 3 ปีที่แล้ว

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

  • @alexeiliska8196
    @alexeiliska8196 10 หลายเดือนก่อน

    Thank you so much super helpful tutorial

  • @satishpatibandla
    @satishpatibandla 2 ปีที่แล้ว

    I find it's good since these are basics

  • @akashkumarbehera2037
    @akashkumarbehera2037 2 หลายเดือนก่อน +1

    superb explanation

  • @alexanderkalchev188
    @alexanderkalchev188 2 ปีที่แล้ว

    great tutorial as always

  • @coderrishav
    @coderrishav 3 ปีที่แล้ว

    Thanks for the video! 😄

  • @jitx2797
    @jitx2797 3 ปีที่แล้ว

    You are awesome Tim.

  • @PradeepKumar-ld5ns
    @PradeepKumar-ld5ns 3 ปีที่แล้ว

    Yes Please make more videos in this series..

  • @glenn8781
    @glenn8781 2 ปีที่แล้ว

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

  • @leonidboyko980
    @leonidboyko980 3 ปีที่แล้ว

    Thank you! very interesting

  • @mukhtarhussain2659
    @mukhtarhussain2659 3 ปีที่แล้ว

    great job sir, enjoying your videos.

  • @320adikos
    @320adikos 3 ปีที่แล้ว

    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!

  • @orvildsilva6577
    @orvildsilva6577 3 ปีที่แล้ว

    Please make the whole series!

  • @reold
    @reold 3 ปีที่แล้ว

    Omg!! I was searching or videos like this!! I thought this video was published years ago! But then.. Omg!!!!!!!!!!!

  • @adthn
    @adthn 3 ปีที่แล้ว

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

  • @LifOfJohn
    @LifOfJohn 2 ปีที่แล้ว

    very interesting video series TWT fan from India !, Please continue this Series ..

  • @kewtomrao
    @kewtomrao 3 ปีที่แล้ว

    Waiting for this!

  • @christophorgl9769
    @christophorgl9769 2 ปีที่แล้ว

    Thanks for this video!!!

  • @godetarnaud1005
    @godetarnaud1005 3 ปีที่แล้ว

    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