Virtual Drag and Drop using OpenCV Python | CVZone

  Рет қаралды 1,396,857

Murtaza's Workshop - Robotics and AI

Murtaza's Workshop - Robotics and AI

Күн бұрын

Пікірлер: 225
@murtazasworkshop
@murtazasworkshop 3 жыл бұрын
findPosition Error: Solution 1: Use the same cvzone version used in the video. (After cvzone 1.5 the findPosition method is removed) Solution 2: If you are using cvzone 1.5 or above use findHand method to get the landmarks. This video explains it in detail: kzbin.info/www/bejne/aanJgJRqrsqCmJI If you are getting an error getting the x and y value using hand['lmList'][8] then use hand['lmList'][8][:2] instead. This is because the latest version of cvzone consists to x,y,z values instead of only x,y. So you have to define that you only need the first two elements by adding [:2]
@rahulchauhan144
@rahulchauhan144 3 жыл бұрын
I was getting this error only ! Thanks for Early update Bro ;))
@ArnavPouranik
@ArnavPouranik 3 жыл бұрын
@@rahulchauhan144 can you help me bro mine is not running
@fouziya9810
@fouziya9810 3 жыл бұрын
Hello sir .can you help me in reducing the latency of hand gestures control.plz
@aniketjadhav8902
@aniketjadhav8902 3 жыл бұрын
and we also need to install 'mediapipe' of its original version as per the video
@RavensHazeEditz
@RavensHazeEditz 3 жыл бұрын
Amazing! One day these projects of yours will land me a job 🤣
@Empriction
@Empriction 3 жыл бұрын
😂😂😂
@iampiyushsingh7544
@iampiyushsingh7544 3 жыл бұрын
Don't be typical south asian, be creative and make something related to these projects. Like you can make a puzzle 🧩 from this video and solving there. Just an example
@divijanwesh9705
@divijanwesh9705 3 жыл бұрын
@@Empriction he was joking
@bidhanacharya7548
@bidhanacharya7548 3 жыл бұрын
😂😂😂
@chabbitatwik
@chabbitatwik 2 жыл бұрын
Mediapipe error
@yuckymoose6745
@yuckymoose6745 3 жыл бұрын
2 players game with 2 side. Players will need to take boxes to their side. The boxes will spwan randomly on screen at the start of the game. There will be a time limit and players will need to take boxes from other side to their side. The player with more boxes at his/her side at the end of the time will win. I'm sorry if this is not good idea. I'm still a student and still learning. Also I really like your tutorials sir. Its so easy to understand and u explain each step clearly. As for the student from poor education country I'm really happy and glad that there are people like u on KZbin who's sharing the knowledge. I m learning so much from your channel and also gaining confidence to do my own projects. Last few months I was thinking about stopping school cuz I feel like I can do nothing. But after I found your channel I learned how to use my basics , how to think, how to write codes clearly. Thanks a lot sir 🙏.
@__________________________6910
@__________________________6910 3 жыл бұрын
wow
@7ate935
@7ate935 3 жыл бұрын
You are an amazing programmer, all my iron man fantasies and dreams can conme alive because of you, you are truly my inspiration for programming!! Could you please do the video for images, maybe when in an iron man scene when he is dragging and dropping some armory, if you could do that you're a legend!!!
@beastnighttv
@beastnighttv 3 жыл бұрын
yeah!!
@ifeellikeiwasborntoloveya6547
@ifeellikeiwasborntoloveya6547 3 жыл бұрын
😳
@muhammadrezahaghiri
@muhammadrezahaghiri 3 жыл бұрын
Amazing project! And something I really like to know is "distance estimation" using opencv. Specially the single camera method. I'd be happy to see if you teach that.
@amitavamitra6407
@amitavamitra6407 3 жыл бұрын
Amazing once again. First Thanks for that. Second about an idea: 1. Can we modify this to hold an object and place it on a virtual shelf - say for a retail store/planogram. 2. If the above is possible then, realize the same with socket or WebRTC framework so that colleagues can use this as clients interacting with the server and finalize their planning. So, I would have a planogram as the background or reference of the shelf and then virtual objects scaled to their size so that we can have proper facing and depths. 3. Interactive learning tools for kids. I start with a simple ones. Remote Teacher shows a multiple choice question and the options are like 4 stickers and the kid chooses that with their ironMan finger clicks. will come back if I have more.. Thanks for making these wonderful tutorials.
@luis96xd
@luis96xd 3 жыл бұрын
Great ideas!
@adiptyaghosh626
@adiptyaghosh626 3 жыл бұрын
Absolutely THE CV project I was waiting and wanting to do!!!! Thank you so much for uploading!!!
@saem.s
@saem.s 3 жыл бұрын
Loving this series so far. Thanks for these videos
@joels7605
@joels7605 3 жыл бұрын
Spectacular video my friend. Very clear and easy to follow.
@macandcheese7525
@macandcheese7525 3 жыл бұрын
This man will bring Jarvis to reality one day!!!!!!
@miladiouss
@miladiouss 3 жыл бұрын
I was looking for something like this for while. Thank you ❤️
@asquarekkc1929
@asquarekkc1929 2 жыл бұрын
Really awesome and thanks for the explanation there's no where in the video that I thought of skipping
@omerali4654
@omerali4654 3 жыл бұрын
Many thanks Murtaza This was very helpful.
@varshithchikati2398
@varshithchikati2398 3 жыл бұрын
Virtual calculator, games like Solving Puzzles of images using drag and drop Would be great to get more understanding of basic concepts .And even those are cool to use as projects.
@RUTM2
@RUTM2 3 жыл бұрын
Good idea
@Dark-th4fg
@Dark-th4fg 3 жыл бұрын
I am not see ever like this project 🤯 5 Rate ⭐⭐⭐⭐⭐ .
@shubhamzope6546
@shubhamzope6546 3 жыл бұрын
Very nice tutorial, great explanation
@tecktube252
@tecktube252 3 жыл бұрын
I learned open cv from beginning hear only thanks for your all efforts
@JKD357
@JKD357 3 жыл бұрын
Hi, How do create a new environment for this project? Do you have a course for setup? thks.
@hamzaelyousfi5285
@hamzaelyousfi5285 3 жыл бұрын
Thank you so much for this video !
@zinagomes5602
@zinagomes5602 2 жыл бұрын
Wow amazing video .Nicely described about everything . After watching this video my all doubts are cleared up.very informative content it is . It is really helpful for beginners . Thanks for sharing this information legend . Highly recommended
@herbert_von_karajan
@herbert_von_karajan 3 жыл бұрын
Hello, thank you so much for these brilliant free lessons! Can you show us how to make colors transparent or just overlay some fancy and nice animations over it. It would be cool to create futuristic heads up display using those colors!
@aloksheth7477
@aloksheth7477 3 жыл бұрын
Thanks for amazing information related to virtual mouse. Always waiting for your video regarding opencv.
@luckywargod
@luckywargod 3 жыл бұрын
youve instantly gain a subscriber. that was awesome man thank you!
@hmm7458
@hmm7458 3 жыл бұрын
source for your profile pic?
@luckywargod
@luckywargod 3 жыл бұрын
@@hmm7458 thats my wife hwang yeji XD
@hmm7458
@hmm7458 3 жыл бұрын
@@luckywargod woo you are lucky dude🤠
@sobhandeepgope
@sobhandeepgope 3 жыл бұрын
please continue the virtual mouse series, i.e. how to right click, scroll and drag and drop using opencv🙏🙏🙏🙏🙏🙏
@shrinivas4888
@shrinivas4888 3 жыл бұрын
Me too
@aryantyagi4915
@aryantyagi4915 3 жыл бұрын
This is great! Can we replace the rectangles with an image?!
@danielcarvalho2158
@danielcarvalho2158 2 жыл бұрын
did you end up getting answer to this?
@aryantyagi4915
@aryantyagi4915 2 жыл бұрын
@@danielcarvalho2158 nope
@puranjanprithu6337
@puranjanprithu6337 3 жыл бұрын
Nowi can be the next iron man... Thanks bro😄
@__________________________6910
@__________________________6910 3 жыл бұрын
This Iron Man just drag and drop rectangle on webcam.
@AdityaSingh-hx1tv
@AdityaSingh-hx1tv 3 жыл бұрын
from your channel i have learned a lot and lot of things i just love the way you teach and the funny things that u do sometimes . KEEP GOING
@devesh2848
@devesh2848 3 жыл бұрын
Hi, Amazing projects for beginner and expert . Please make a tutorial on your real time plot module in cvzone Library
@varshithchikati2398
@varshithchikati2398 3 жыл бұрын
Love 💕 u r content ,would you do a video on how to perform the same with images.
@manavt2000
@manavt2000 3 жыл бұрын
Always waiting for your new video 😊🔥🔥
@abhishekgaikwad6105
@abhishekgaikwad6105 3 жыл бұрын
You are awesome 😎😎
@aseemchib2233
@aseemchib2233 Жыл бұрын
To fix the bug where rectangles overlap that arises due to multiple rectangles being updated at the same time, a simple fix is: 1) Make the function return True if an update is successful 2) In main function, if a rectangle.update(cursor) returns True, do not check or update other rectangles. Code change: for rectangle in rectList: if rectangle.update(cursor): break
@L1eyan-vn3lv
@L1eyan-vn3lv 11 ай бұрын
After modified the code, when two images overlap it will automatically switch the current image with the overlapped image, do u have the same problem?
@endevb
@endevb 3 жыл бұрын
Amazing Very Very Thank you
@coding_JARH
@coding_JARH 3 жыл бұрын
Well done bro
@amitavamitra6407
@amitavamitra6407 3 жыл бұрын
4. This is more a question to myself / DIY, with Flask can we use these clicks to perform web transactions. if Yes, then should we not release some npm packages as in SDK for it to be used robustly? Kind Regards
@veditavedhanthworld
@veditavedhanthworld 3 жыл бұрын
Useful information
@RixtronixLAB
@RixtronixLAB 3 жыл бұрын
Nice video, thanks :)
@yusun5722
@yusun5722 3 жыл бұрын
Great tutorial
@tycho25
@tycho25 3 жыл бұрын
We're on our way to holograms
@__________________________6910
@__________________________6910 3 жыл бұрын
I just complete this project. Thanks
@bruvanasatyakumaradaparedd4438
@bruvanasatyakumaradaparedd4438 Жыл бұрын
Hello😊
@bruvanasatyakumaradaparedd4438
@bruvanasatyakumaradaparedd4438 Жыл бұрын
Can u paste the coding of virtual drag and Drop opencv
@TheYutsiriOnna
@TheYutsiriOnna 3 жыл бұрын
THAT'S AWESOME. I can't wait to do it haha. Thx for sharing!
@ahmedzaki7513
@ahmedzaki7513 3 жыл бұрын
Damn awesome 😍
@md.teacher9413
@md.teacher9413 3 жыл бұрын
I love your project
@edbic4223
@edbic4223 3 жыл бұрын
can you please make a tutorial using image?? Overlaying is already hard and moving them around is even harder!!
@a01r
@a01r 3 жыл бұрын
hello Murtaza i have a question : how i can use CVZone (openCV ...) in my project (arduino project OR Raspberry pi project + camera ) without need computer FOR EXAMPLE : my project is robot car i need to put this properties (openCV .....) in my car without need computer connected with my car
@_Garm_
@_Garm_ 3 жыл бұрын
would be fun to combine this with unity :)
@RUTM2
@RUTM2 3 жыл бұрын
Did you?
@sakethsaketh750
@sakethsaketh750 3 жыл бұрын
Sir if possible upload a series of lectures on ROS
@behindthescene2727
@behindthescene2727 3 жыл бұрын
Python superb designing
@majin2909
@majin2909 3 жыл бұрын
The sci-fi movies are becoming so realistic
@RUTM2
@RUTM2 3 жыл бұрын
Ummm lol
@房宸安
@房宸安 3 жыл бұрын
Amazing !
@zeinan.1655
@zeinan.1655 3 жыл бұрын
can you do a shooting game using this please ♥ much appreciated the great projects that you explain to us 🥺♥
@naveenkareria6759
@naveenkareria6759 3 жыл бұрын
Hi sir, I just want to say that i want to learn arduino from beginning to advanced. So can u make any tutorial of arduino in simple and easy.
@RUTM2
@RUTM2 3 жыл бұрын
Why 'ARDUINO' ??
@user-og1of6hw3x
@user-og1of6hw3x 3 жыл бұрын
how can i get ideas like you sir please tell me
@aideiramli8549
@aideiramli8549 3 жыл бұрын
Assalamualaikum Sir. Your tutorial is powerful and very amazing in the world. I will start my research on AI racing robo car by using Jetson nano. Can give about this tutorial on your channel
@Shubhamthepawar
@Shubhamthepawar 3 жыл бұрын
Python doesnt have find.Position attribute. How do I install it and where to save them (in lib folder?)
@RUTM2
@RUTM2 3 жыл бұрын
.
@taimhannan9684
@taimhannan9684 3 жыл бұрын
THANKS MAN
@SubaBlubba
@SubaBlubba 3 жыл бұрын
Great video
@Un_realDM
@Un_realDM 3 жыл бұрын
The real tony stark🔥
@AswarChannelNoowbid
@AswarChannelNoowbid 3 жыл бұрын
how to enter "cvzone" does it have to be installed in python or is there a code that must be downloaded?
@tusharchhimpa8913
@tusharchhimpa8913 3 жыл бұрын
Sir it is not working in mac. >>OpenCV: not authorized to capture video (status 0), requesting...
@mahmoudusama8050
@mahmoudusama8050 3 жыл бұрын
Very good video How can I write any thing in boxs ?
@UgraNarasimha
@UgraNarasimha 11 ай бұрын
Hi Murtaz, One question Is there a way to remove the dropped item .. from the virtual image?
@neonstorm3329
@neonstorm3329 3 жыл бұрын
Sir, please do a tutorial on gait recognition
@kaderaziz7555
@kaderaziz7555 3 жыл бұрын
cool example, can you show us how to drag and drop an icon on windows desktop? Thanks
@mustafazakiassagaf1757
@mustafazakiassagaf1757 3 жыл бұрын
for a while I'm confused if that's go or python. i never see code that return more than one in python
@vijay92892
@vijay92892 Ай бұрын
lmList _ = detector.findPosition(img) this is giving error as - not enough values to unpack
@silysko
@silysko 3 жыл бұрын
Amazing! ...you mastered nice opportunity, but you don't understand as you could realize amazing-plugin to share this modified image throughout, so yourself the virtual-camera interface for use then it for example in Skype
@virendrasinhvaghela9579
@virendrasinhvaghela9579 3 жыл бұрын
Very nice
@rakeshkumarrout2629
@rakeshkumarrout2629 3 жыл бұрын
Please make a video on virtual fitting room like zeekit..
@kuliahkoding
@kuliahkoding 3 жыл бұрын
Amazing
@SylvieTheBagel
@SylvieTheBagel 3 жыл бұрын
How would you install media pipe on win 10, with an Intel CPU?
@d3zar
@d3zar 3 жыл бұрын
hi man thanks for all this tutorial videos. I have watched all. But i have to ask you something, i want to get positions of my finger and their bones. So i can make a hand shake detector, hand wrist, fist, all open, left or right rotation etc... detections. Which api can meke this or do you have any tutorial that i didn't see, or could you make atutorial for it ?. Thanks..
@e4ent23
@e4ent23 3 жыл бұрын
Please do a video on ras
@pnabbypaul1085
@pnabbypaul1085 3 жыл бұрын
nice work... still trying to work on the drag and drop problem tho.lol
@rafiahmadhabibi6085
@rafiahmadhabibi6085 2 жыл бұрын
THANKYOUUUU
@MuhammadUmar-dx7wh
@MuhammadUmar-dx7wh 2 жыл бұрын
Hahah awesome 😘😍
@ArnavPouranik
@ArnavPouranik 3 жыл бұрын
Nice bro
@РимаШестилаева
@РимаШестилаева 3 жыл бұрын
Hi. Advice on a library AI for generating photos based on examples?
@blaisepascal5729
@blaisepascal5729 3 жыл бұрын
can this be done with other prog languages?
@AmitSharma-kc8yx
@AmitSharma-kc8yx 3 жыл бұрын
Sir can we Handel desktop apps with it Like Chrome or zoom
@MohabbatRJ
@MohabbatRJ 2 жыл бұрын
any video for drag and drop function work on our system not virtualy through hand desture
@gamenicho5573
@gamenicho5573 3 жыл бұрын
what is the recommended computer specs for Computer Vision
@عمادحماده-ث8د
@عمادحماده-ث8د 2 жыл бұрын
Loop epej it gggtt
@JKD357
@JKD357 3 жыл бұрын
Hi, About the video, What are the tools of the I.D.E. name? thks.
@adriankurzac6779
@adriankurzac6779 3 жыл бұрын
Can we add some jpg in Purple rectangle place?
@RavensHazeEditz
@RavensHazeEditz 3 жыл бұрын
I think so.
@__________________________6910
@__________________________6910 3 жыл бұрын
lets try
@adriankurzac6779
@adriankurzac6779 3 жыл бұрын
@@__________________________6910 i will try do it today
@__________________________6910
@__________________________6910 3 жыл бұрын
@@adriankurzac6779 hey try with a buzzel image
@template5123
@template5123 3 жыл бұрын
the mediapipe module may have been removed
@Vadix3
@Vadix3 3 жыл бұрын
How did you fix the part where they start overlapping? I tried using flags but it doesn't work, the still merge some of the times. any ideas?
@umutuncu8
@umutuncu8 2 жыл бұрын
INFO: Created TensorFlow Lite XNNPACK delegate for CPU. Traceback (most recent call last): File "/Users/umutuncu/PycharmProjects/pythonProject9/module.py", line 38, in lmList, _ = detector.findPosition(img) AttributeError: 'HandDetector' object has no attribute 'findPosition'
@actionkey8042
@actionkey8042 3 жыл бұрын
AWESOME!
@TejrajParab
@TejrajParab 3 жыл бұрын
Hi, nothing worked in the program. It gave no errors or bugs, even detected hands. I could see my video and the transparent rectangles, but the gestures when I brought my index and middle fingers close, yielded no result. Can you help?
@onurdemirci4202
@onurdemirci4202 3 жыл бұрын
Wow awsome
@nimishachitriv6576
@nimishachitriv6576 2 жыл бұрын
How do you do it for a circle
@mohammadbaghaei8076
@mohammadbaghaei8076 3 жыл бұрын
wow perfect
@PositronQ
@PositronQ 3 жыл бұрын
Augmented simple commerce
@gnanasundaramsangirthan4175
@gnanasundaramsangirthan4175 3 жыл бұрын
Hi If we want to control the click function by timing instead of distance between two fingers how can I do that. Eg: if I move my finger into the square for 3sec it will click to drag the square.
@abhinavkourav
@abhinavkourav 3 жыл бұрын
Sir, my 'set' function of CV2 is not working I can not change width and height of my screen. What to do for this problem ? Please help!
@gfxcubiclife2914
@gfxcubiclife2914 3 жыл бұрын
For the problem when 2 squares join in 1, i think it will be solved if you create an instance with positions for each of thems
@jaredmiller219
@jaredmiller219 2 жыл бұрын
how do we fix that tho
@bobyau8755
@bobyau8755 Жыл бұрын
Iam following this course but somehow theres an error saying that ' HandDetector' object have no attribute of ' findPosition'
@antoniodamore
@antoniodamore 3 жыл бұрын
Minority Report inspired you, didn't it ?
@technihal
@technihal 3 жыл бұрын
Can you provide code how I used thumb for scrolling in AI virtual mouse
@mamathajanampally3667
@mamathajanampally3667 2 жыл бұрын
Hi i have installed all the packages that you mentioned but it's NOT showing VIDEO CAPTURE in CV ZONE can you please help me .
Top 25 Computer Vision Projects 2021
6:01
Murtaza's Workshop - Robotics and AI
Рет қаралды 216 М.
Create a LOCAL Python AI Chatbot In Minutes Using Ollama
13:17
Tech With Tim
Рет қаралды 142 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Octopus vs Underwater Maze
17:13
Mark Rober
Рет қаралды 86 МЛН
Делаю нейросеть с нуля
17:17
Onigiri
Рет қаралды 1,5 МЛН
Trump Started Negotiations / Is the War Ending?
12:18
NEXTA Live
Рет қаралды 527 М.
Как устроены швейные машинки? [Veritasium]
16:50
Водитель для Сунны ( Анимация | Истории )
12:00
Доктор Гнус
Рет қаралды 143 М.
Reinforcement Learning - My Algorithm vs State of the Art
19:32
Pezzza's Work
Рет қаралды 151 М.
I tried to make a Valorant AI using computer vision
19:23
River's Educational Channel
Рет қаралды 1,5 МЛН
How to make advanced image recognition bots using python
15:01
Kian Brose
Рет қаралды 1,4 МЛН
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,3 МЛН