Augmented Reality with OpenCV using ArUco Markers (Python)

Поділитися
Вставка
  • Опубліковано 25 сер 2024
  • We are going to learn how to perform real-time augmentation using OpenCV with Aruco Markers. We will first look at the basics and then create a module so that we can use it with future projects.
    🚀🚀 My Urdu/Hindi AI UA-cam Channel 🚀🚀
    / @murtazahassan01
    Download Code and Markers:
    coming soon
    Opencv ArUco Documentation:
    docs.opencv.or...
    Premium Courses:
    ✔️ Computer Vision Game Development Course:
    bit.ly/3ttLZ2s
    ✔️ Computer Vision with Arduino Course:
    bit.ly/3wzLB4m
    ✔️ Advanced Drone Programming Course:
    bit.ly/3qs3v5g
    ✔️ Learn to Build Computer Vision Mobile Apps:
    bit.ly/3uioY1J
    ✔️ Jetson Nano Premium Course:
    bit.ly/3L8uIlF
    ⚙️⚙️⚙️--My Gear - ⚙️⚙️⚙️
    👉 Complete Gear 💈: www.computervi...
    👉 My PC Specs 🖥️: www.computervi...
    👉 My Video Shooting Gear📽️ : www.computervi...
    👉 My Laptops 💻: www.computervi...
    👉 Educational Products🧑‍🎓: www.computervi...
    👉 UA-cam Starter Kit 🔴: www.computervi...
    Follow Me:
    TikTok: bit.ly/3Vo76OQ
    Facebook Group: bit.ly/3irDcb7
    Discord: bit.ly/3JvyxAM
    Facebook Page: bit.ly/3IvpU7W
    Instagram : bit.ly/3NdGME3
    Website: bit.ly/3ICFTS0
    Github: bit.ly/3woU6PS
    #ComputerVision
    #OpenCV
    #CVZone

КОМЕНТАРІ • 61

  • @syedufaqhaider2796
    @syedufaqhaider2796 3 роки тому +19

    I'm speechless by seeing this amount of dedication like i always open UA-cam to check whether you posted any video or not coz I'm the same kinda guy
    More power to you brother ❤❤

  • @cardsigner
    @cardsigner 3 роки тому

    This is the most clearest tutorial explanation of Aruco. It clearly explains the small things with great empathy. Anybody watching your tutorial would feel guilty to not subscribe.

  • @malikhamza9286
    @malikhamza9286 3 роки тому +4

    Thank you so much for the great Stuff. I love your content and I am learning a lot from your videos.

  • @nrdesign1991
    @nrdesign1991 3 роки тому

    I'm having a lot of fun with this! Thank you for introducing me to ArUco!

  • @karthikb.s.k.4486
    @karthikb.s.k.4486 3 роки тому +1

    Nice tutorial. We need tutorials on OPENCV and OCR

  • @noah5392
    @noah5392 3 роки тому +3

    Thank you for this Video 💪🏽

  • @inteligenciamilgrau
    @inteligenciamilgrau 2 роки тому

    Mannnnnnn! You are a genius!! Thanks so much!!

  • @amortalbeing
    @amortalbeing 2 роки тому

    This was very good. Thanks Murtaza. God bless you

  • @x-ycz
    @x-ycz 3 роки тому

    Awesome video! This gave me the information and motivation I needed to make some real progress on my position estimation project using ArUco markers! Thank you, and keep up the amazing work!

  • @CREATIVEINNOVATOR
    @CREATIVEINNOVATOR 2 роки тому +1

    Thanks a lot for this wonderful video

  • @TheGg6422
    @TheGg6422 3 роки тому

    My latest interest has been OpenPnP(pick + place machine), it seems this module/method would be an excellent add-on to the cameras
    on a pick and place machines to id if a component is oriented correctly on a circuit board part footprint and not flipped upside down or skewed off the pads. Could also be good for a rapid quality control inspection after a board was manufactured and parts placed on it.
    There should be a way to add these routines on to the existing software that runs on these machines! Love your tutorials!

  • @kis4996
    @kis4996 2 роки тому

    Thank you for this great video!
    finally make it work with AprilTags

  • @nirmaltiwari6636
    @nirmaltiwari6636 3 роки тому

    Great tutorial. Thank you 🙏🏼🙏🏼🙏🏼

  • @shivansgupta2415
    @shivansgupta2415 3 роки тому +1

    Hi I am fascinated by your UA-cam channel, I want to make a project of paint visualizer i.e in which user can change the wall colour can u please make a tutorial or atleast share some concepts.

  • @muhammadnajamulislam2823
    @muhammadnajamulislam2823 2 роки тому

    mashaallah bro very informative

  • @user-zo5xr8sx6t
    @user-zo5xr8sx6t 3 роки тому +3

    Can you do the aruco markers overlay 3d model tutorial? I think this ar topic is interesting!!

  • @greatideas218
    @greatideas218 Рік тому +1

    I keep getting this: "AttributeError: module 'cv2.aruco' has no attribute 'DetectorPrameters_create'" is there any way to resolve this?

  • @ikkeniikkewel
    @ikkeniikkewel 3 роки тому +1

    Can you do a video about the combination of a depth image and a color image to create a 3D environment/object?

  • @arsalansyed4709
    @arsalansyed4709 2 роки тому

    Thank you so much!

  • @pythongui5199
    @pythongui5199 3 роки тому

    Great project!

  • @Noname-hc8mj
    @Noname-hc8mj Рік тому +1

    pleae the code

  • @keithschaub7863
    @keithschaub7863 3 роки тому +1

    Murtaz, I installed opencv-contrib-python and the parameters = cv2.aruco.DetectorParameters_create() is working fine. aruco_dict = aruco.Dictionary_get(aruco.DICT_5x5_50) throws the error: "AttributeError: module 'cv2.aruco' has no attribute 'DICT_5x5_50' openCV documentation is not helping. I also tried your DICT_6x6_250, but same error. Any hints???????????????????????????????????????

  • @vedrajadhikari9406
    @vedrajadhikari9406 3 роки тому +1

    Sir what do you mean by april tags. Can you explain me about that?

  • @actionkey8042
    @actionkey8042 3 роки тому

    Murtaza's Workshop - Robotics and AI
    awEsoOOOOme and fuUUUnny

  • @akankshayadav4477
    @akankshayadav4477 3 роки тому

    Great effort

  • @thelearnfrombasics
    @thelearnfrombasics 3 роки тому

    hi sir,
    would you please take into account on maybe making an distance detection using python, OpenCV and stereo vision tutorial

  • @asdfds6752
    @asdfds6752 3 роки тому

    Great job! Could you use those for positioning as well? E.g. computing distance between camera and markers given the size of the marker (e.g. cm in the printout marker)? How would you go about? Using the result from the transformation and compare to a known initialization?

  • @yahuzz
    @yahuzz 2 роки тому

    Very good video! thanks! ...anyway, if i try using my webcam, when moving the paper with the printed markers, the application is not able anymore to detect the markers until i almost stop my movements or i completely stop moving. In your video markers detection seems to work better.... Does it depend on the webcam itself? maybe if i try with a better camera i could get better results?
    My goal is to detect moving aruco markers when pass in front the camera, but all my project falls if i have to limit the speed movement (note that i'm not talking about ultra fast speeds).
    Thanks in advance

  • @kundanjadhav8758
    @kundanjadhav8758 3 роки тому

    hey there i am stuck. We are showing the ids on image. But i am getting error there saying
    -1: error : (-5: Bad argument) in function 'putText'
    Overload resolution faild:
    - can't parse 'org' . Sequence item with index 0 has a wrong type
    - can't parse 'org' . Sequence item with index 0 has a wrong type

  • @muhammadnajamulislam2823
    @muhammadnajamulislam2823 2 роки тому

    Bro plz make a series on MediaPipe liberary

  • @TheBeaver1200
    @TheBeaver1200 3 роки тому

    Would you be interested in implementing opengl here to work on overlay of 3D models? Thanks!

  • @cIassmethod
    @cIassmethod 2 роки тому

    Спасибо, хотя бы немного разобрался как эту штуку запустить 👍👍👍

    • @cIassmethod
      @cIassmethod 2 роки тому

      я новый подписчик!

  • @__3093
    @__3093 3 роки тому +1

    will you do machine learning using opencv C++?

  • @tukangngajar23
    @tukangngajar23 Рік тому

    Thx for great tutorial... But i got some error in cv2.putText part org in opencv 4.5.5 is not supported..can u help me?

    • @JT11111
      @JT11111 Рік тому

      Did you manage to fix this error?
      Check my comment on this video, I have made a public comment with a line of code to fix this.

  • @kaypken
    @kaypken 2 роки тому

    How did you import aruco?

  • @jaswanthgopavaram8491
    @jaswanthgopavaram8491 2 роки тому

    Hello, can I get the documentation for this project...

  • @jaswanthgopavaram8491
    @jaswanthgopavaram8491 2 роки тому

    Hey , In my pychram aruco package is showing an error

  • @akm1712
    @akm1712 3 роки тому

    Sir can you please explain that how we can access actual mobile gps location rather than Gps hardware using python ...
    Also I don't want to be try service provider location....
    Please help me sir...

  • @mrbluess4029
    @mrbluess4029 3 роки тому +1

    i cant do it
    i got this
    Import "cv2.aruco" could not be resolved
    someone can help me pls? :C

  • @vettorazi
    @vettorazi 3 роки тому

    In case anyone is using python 3.5 still and receiving syntax error with the f-string method:
    key = getattr(aruco, "DICT_%sX%s_%s" %(markerSize, markerSize, totalMarkers))

  • @JainHruday
    @JainHruday 3 роки тому +1

    Can you answer my question on your 3 hours video ?

  • @JT11111
    @JT11111 Рік тому +3

    Anyone who is getting a "cv2.putText parse org" error, copy/paste this line instead:
    if drawId:
    cv2.putText(imgOut, str(id), (int(tl[0]), int(tl[1])), cv2.FONT_HERSHEY_SIMPLEX, 1, (255, 0, 255), 2)
    Your issue should be fixed.

  • @BillEngwall
    @BillEngwall 2 роки тому

    Can you reupload the code to git?

  • @shishankjain5550
    @shishankjain5550 3 роки тому

    Kindly bring more c++ videos

  • @Noname-hc8mj
    @Noname-hc8mj Рік тому

    cv2.error: OpenCV(4.6.0) :-1: error: (-5:Bad argument) in function 'putText'

    • @JT11111
      @JT11111 Рік тому

      Did you manage to figure this error out?
      Check my recent comment on this video for the fixed code.

  • @keithschaub7863
    @keithschaub7863 3 роки тому

    how do you do the same on raspberry pi????????????????????????????????????????????????????????

  • @edking6609
    @edking6609 3 роки тому

    Which Software is this

  • @adilshinwari5234
    @adilshinwari5234 3 роки тому

    bhai apna number dedo please.
    Ap sa eak project banwana hai.

  • @pspfootballpodcasts1393
    @pspfootballpodcasts1393 3 роки тому

    a