OpenCV Python Tutorial #4 - Drawing (Lines, Images, Circles & Text)

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 พ.ย. 2024

ความคิดเห็น • 63

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

    I liked the animation used for explaining the arguments. Nice improvement. Thanks, Tim

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

    Working on an image/motion detection project right now, these videos came at the perfect time! Good stuff!

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

      Thanks! Best of luck on your project :)

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

    At the age of 5 : Using paper and pen to draw 😭
    At the age of 10 : Using MsPaint to draw 😂
    At the age of 15 : Using OpenCV to draw 😎
    Tim works so hard 😘 so it's the duty of his every viewer to subscribe. Right Tim?

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

    Absolutely wonderful series, definitely can't wait for the next tutorial! Keep on educating us Tim!

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

    im from iran i cann't speak english very well, i try to undrestand couse you are good teacher❤🌷 .

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

    2 years later, Tim is still great

  • @devhere2457
    @devhere2457 วันที่ผ่านมา

    Good job, understanding is very esay when learning from tim

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

    Hi, I am your new subscriber who from South Korea. I am studying degree Computing Science in Singapore. I watched your video. Your coding skill looks very awesome. I really want to have good coding skills. I am feel very respectful to you

  • @manonthedollar
    @manonthedollar ปีที่แล้ว

    cv2.LINE_AA enables Anti Aliasing (AA). You can add those to most of the draw functions (including cv2.line, .circle, .rectangle from this video)

  • @bradb2012
    @bradb2012 ปีที่แล้ว

    Great video, super easy to follow and understand. Solved a problem I immediately had with drawing rectangles!!

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

    Great videos, the perfect length to stay interested

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

    Tim, your videos are great and I always learn something new from you. Your style keeps me on track with just the right amount of information to keep me focused and not all over the place like I usually am. Im a big fan of all your videos but I very much look forward to the next video in this series!

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

    I am working on the HTML code generator with element structure. Thanks bro, love u a lot

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

    Tim is in fact great!

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

    Ima download this vid. Currently doing a maths course but I'll be back for some relaxing programming

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

    This tutorials been so easy for me to follow, and I quickly feel like I am learning. Thanks!

  • @Wolf-if1bt
    @Wolf-if1bt 2 ปีที่แล้ว

    Where are you from ? I'm french and I can understand 100% of what you're saying. Perfect accent for me. And obviously, your tutorial is also perfect : opencv appears to be easy. Great!

  • @God_OfGame
    @God_OfGame 4 วันที่ผ่านมา +1

    realy bro thank you

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

    You are really great Tim!

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

    I was looking for this series Tim tnx👍

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

    here beside using cap.get(3) and cap.get(4) for width and height, we can also use frame.shape[0] and frame.shape[1] for height and width, so is there any reason for using the .get() method?
    He also then convert the value of cap.get() in int, while we get value from frame.shape already in integer.

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

      Using cap.get(3) and cap.get(4) ensures consistency across different video files, not all videos may have frames of the same size, and using the get() method guarantees that you are getting the width and height information directly from the video file

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

    img and frame are the same thing, you can verify it yourself by doing assert id(img) == id(frame)

  • @VictorPerez-od7zh
    @VictorPerez-od7zh 3 ปีที่แล้ว

    Amazing tutorial Tim!!!

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

    12:55
    tim: and after that thats baisicly all fo rthis tutorials series...
    me: WHAT!?! he's already done?!

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

      HaHa, I got scared and then realised that it was just a mistake by Tim

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

    Will you have a video combining OpenCV & TKinter?

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

    Great Videos Tim! A question I have is at 3:52, you changed frame to img so the next line will be drawn on top of img. However, it seems to work for me by just writing cv2.rectange(...)? (So we remove img keep the first argument as frame)
    I played around with drawing 5 rectangles on top of each other, and defining each cv2.rectangle(...) as img1, img 2 etc. It would always draw 5 rectangles on top of each other, no matter what i put into the first argument of cv2.rectangle(), and no matter which I showed for cv2.imshow('frame', img...)
    I was wondering if this is the same for you? i.e. does defining img and writing cv2.rectange(img,...) actually do anything unique, since it doesn't seem to for me

  • @noertri618
    @noertri618 29 วันที่ผ่านมา

    Nice video, this gives me inspirations

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

    Hey Tim could you make videos about Tkinter module?

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

    Nice video, again. Great to code along and play around. I am currently taking an online course and it´s rather boring, compared to this. So thanks and I am really looking forward to the next parts.

  • @TopMusic-rw3yz
    @TopMusic-rw3yz 3 ปีที่แล้ว

    Thanks Tim!!!!!!!!!

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

    Will you do Hands-tracking tutorials with Opencv?

  • @LeviWaters-v6d
    @LeviWaters-v6d 9 หลายเดือนก่อน

    quick question! in your video at around 3:23 changed cv2.imshow('frame', frame) to cv2.imshow('frame', img) is there an important difference? I ran it both ways and they both worked. Great video BTW!

    • @paulsherlock4348
      @paulsherlock4348 29 วันที่ผ่านมา

      I believe that is just the name of the window it’s displaying in.

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

    Hey Tim I want to make curved lines in Opencv can you help me out🙏🙏

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

    Is it possible to add a donnut instead of a circle with volume??

  • @simplelife1643
    @simplelife1643 ปีที่แล้ว

    hi, can you please help me with my script. i am trying to save the image detected by opencv and yolov5 custom model. and i need to save the whole image when the object detected.thanks in advance

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

    which package you are using in sublime
    ?

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

    Good speed

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

    I mean, is it possible to add a simple circle without volume unlike the example?

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

    how can we show 4 different video cameras in a single window like the one you did in the video with your camera

  • @i-MAsif
    @i-MAsif 3 ปีที่แล้ว

    Hi , i am using ubuntu but unable to install opencv with python 3.7.3 version there is an error stoping me to go ahead. Would you help me out plz .(using jupyter notebook) 🙂

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

    waiting for this thanks
    heart

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

    Tim. I liked... but 'axis' is spelled like this (not axsis). I chuckled. DrV

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

    The delay when you're drawing on the video stream is very noticeable

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

    Please make a video regarding django using automated tests

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

    Tim

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

    Please create an api using flask and use docker, want to see end to end project.

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

    I completed your 1000th View at least gimme a Hii in reply ❤

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

    Hello, I just saw you have a video titled 'Why You Should STOP Using an IDE (Integrated Development Environment)', yet you're still using an IDE. Does that mean the video was complete clickbait to waste your viewers time for money, or was there some other reason? Thank you in advance for the answer.

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

      Hi. Did you watch the video? I don’t feel it was a waste of time otherwise I would not have created or posted it. Funny thing is in this series I’m actually not using an IDE. This is a text editor not a full pledged ide... Before you make such assumptions I’d encourage to watch the video in question, hopefully I can articulate in that video why i titled the video as such.

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

    2nd video...😅

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

    I think u make mistake 6:15

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

    Please tell the advance things which you will do in the series, like any ml stuff

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

    Noice

  • @prasannan-robots
    @prasannan-robots 3 ปีที่แล้ว

    Eighth

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

    first

  • @adarshp.v2743
    @adarshp.v2743 3 ปีที่แล้ว

    Second

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

    Third