3d Hand Tracking in Virtual Environment | Computer Vision

  Рет қаралды 197,284

Murtaza's Workshop - Robotics and AI

Murtaza's Workshop - Robotics and AI

Күн бұрын

Пікірлер: 174
@fttx6673
@fttx6673 2 жыл бұрын
One of the best projects, and we can also facilitate the work so that we can associate a 3D character with the engine. This is a wonderful thing
@LittleFifth
@LittleFifth 2 жыл бұрын
Very excited about this video, I was looking forward to 3D stuff since a 2D pose estimation video you did- thank you and I'll be sure to try this
@FernandoMoreiraR
@FernandoMoreiraR 2 жыл бұрын
This video won you a subscriber!
@bobjefferson2829
@bobjefferson2829 2 жыл бұрын
E là lớp phó gương mẫu, e chúc thầy và cô Thuỷ mạnh khoẻ, hạnh phúc và có nhà mới thật đẹp ạ
@angelojojo3338
@angelojojo3338 2 жыл бұрын
Hey man, great video. But use this line will yield a better control float x = float.Parse(points[i*3])/80-8; float z = float.Parse(points[i*3 +1])/80-5; float y = float.Parse(points[i*3 +2])/80; You need to transform the coordinate from OpenCV to Unity. You use: float x = 5 - float.Parse(points[i*3])/100 in your video However, this will reverse the coordinates of your hand. To transform the coordinate, you will need to turn the middle point in OpenCV from (0.5x, 0.5y) to (0,0) In this case, you will need to subtract the x value by 80, and then minus 8. and y value by 80 and then minus 5
@rafaroeder
@rafaroeder 9 ай бұрын
Hey ! thanks for this. Did you figure out how to make te hand go back and forth? The "point0" does not move on the z axis. tanks!
@oezbro
@oezbro 7 ай бұрын
You're a real life saver. Thanks a lot! Best tutorial for handtracking I've seen on KZbin. Keep up the good work!
@zimpel35
@zimpel35 2 жыл бұрын
Super Video, super project. As always from you! one of the best channels on yt.
@12qwe-di3tf
@12qwe-di3tf 4 ай бұрын
and super socket 15:43
@abhilashh3904
@abhilashh3904 Жыл бұрын
best tutorial i have seen related to computer vision and unity. thanks a lot. please do more videos
@VINESHRAJPUT
@VINESHRAJPUT 2 жыл бұрын
Everything is perfect . One question Can I grab the cube also?
@055pq2
@055pq2 Жыл бұрын
You can, but its extremely diffcult!
@BurhanAhmad-s4e
@BurhanAhmad-s4e Жыл бұрын
@@055pq2 did you figure out how to?
@marshallmann7620
@marshallmann7620 Жыл бұрын
You're awesome, Murtaza.
@giancarlopappalardo
@giancarlopappalardo 2 жыл бұрын
you have really outdone yourself this time
@pramobunnythebun
@pramobunnythebun Жыл бұрын
Wow amazing... I'm watching your all videos. Really appriciate your knowledge. Please give us more tutorial like this. Can u give more tutorials for starting how to code augmented reality? It will be a great help. God bless you
@surajpoudel755
@surajpoudel755 2 жыл бұрын
BROTHER, YOU ARE THE BEST!!! You oooh really helped me!! THANK YOU VERY MUCH!
@calvinthapro616
@calvinthapro616 2 жыл бұрын
Hey, good video. Could you post the code on how to move the hand on the z axis? That would be very helpful.
@f1l1p10
@f1l1p10 2 жыл бұрын
u can use code from this video kzbin.info/www/bejne/oKTSlmSDZ6adfM0 but using point 0 and 17 from your hand
@MLOps_
@MLOps_ 2 жыл бұрын
@@f1l1p10 thanks
@tokiotv2843
@tokiotv2843 2 жыл бұрын
Anyone has it?
@호모사케
@호모사케 2 жыл бұрын
Hello! Can you give me a solution to build project as a one exe file?
@SassyPantsy
@SassyPantsy 2 жыл бұрын
Incredible tutorial. Very informative without being redundant. This is what the internet was for!!! Thank you so much for this knowledge. Subscribed!
@fiogar7006
@fiogar7006 Жыл бұрын
How do I get the virtual hand in unity not to scale when I move my real hand forward and backwards to the camera
@alexchan252
@alexchan252 7 ай бұрын
a very nice tutorial
@pickapack4704
@pickapack4704 2 жыл бұрын
Nice project sir 👍
@rhezafatria
@rhezafatria 2 жыл бұрын
Many thanksss!!!!!🤩
@loveronthesunid
@loveronthesunid 2 жыл бұрын
keep up the good work
@1979zeesh
@1979zeesh Жыл бұрын
awesome project bro....amazing. one question: are u using the usual unity collidor components to detect collision or what? that part is missing in your video. how u detected collision?
@lucker7579
@lucker7579 2 жыл бұрын
ArgumentOutOfRangeException: Index and count must refer to a location within the string. Parameter name: count
@Hekaro
@Hekaro 2 жыл бұрын
the possibilities are endless. will certainly play around with this
@cybersecurite_CPT
@cybersecurite_CPT 2 жыл бұрын
wher can I download UDP receive Please??????????
@edbic4223
@edbic4223 2 жыл бұрын
This is awsome! I want to try this on my own and develop it! Do you think, if I make the unity 3d enviorment complex, is the detection or all the other process gonna get laggy??
@worldtimefactechzwtf4857
@worldtimefactechzwtf4857 2 жыл бұрын
Great stuff thanks!
@aniketkhadse2002
@aniketkhadse2002 Ай бұрын
Wonderful.... Can we do this with full body?
@MrBrains_
@MrBrains_ 2 жыл бұрын
07:18 min AttributeError: partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline' (most likely due to a circular import)
@anantchandak9574
@anantchandak9574 2 жыл бұрын
he is going to make revolution in computer vision just tell me can't we cover our points like it we have red point and green lines as attachment, so we can increase the thickness and change the color in unity. so by this can't we create a real looking human hand
@JavieraPaulinaArgandonaOlivare
@JavieraPaulinaArgandonaOlivare Жыл бұрын
great video:) is it possible to show both hands at the same time?
@dxgarmy1373
@dxgarmy1373 2 жыл бұрын
pls tell me can I use this to grab a object how im trying its not working pls pls tell
@notnow3631
@notnow3631 3 ай бұрын
thank u so much !!
@Soccertrash17
@Soccertrash17 2 жыл бұрын
Has anyone a solution for the z coordinate estimation?
@asurstark
@asurstark 2 жыл бұрын
May I know sir, how you have integrated the camera?
@dxgarmy1373
@dxgarmy1373 2 жыл бұрын
all done points working but lines not , error is coming the variable origin of Line code has not assigned in the inspector but I had linked all the line and so many errors for many lines
@flioink
@flioink 2 жыл бұрын
There's some kind of error in the "extend" part of the code, I keep getting: IndexError: list index out of range Edit: OK, I narrowed it down - the lmList list only gets 2 dimensions(x and y) and not the z. Why would that be?
@allamerican9414
@allamerican9414 2 жыл бұрын
Hey, I am having the same issue, did you ever end up figuring out why lmlist is refusing to give z values?
@yade1234
@yade1234 2 жыл бұрын
@@allamerican9414 Upgrade your cvzone package using pip
@nv7287
@nv7287 Жыл бұрын
Can this work on mobile? Amazing video tutorial!!
@FruitBK
@FruitBK 11 ай бұрын
Thank you~~!!!!!
@deltakingoffisho3410
@deltakingoffisho3410 2 жыл бұрын
great, thanks you
@trash2treasure786
@trash2treasure786 2 жыл бұрын
Does it work when published to android?
@rohitchabukswar7266
@rohitchabukswar7266 2 жыл бұрын
Can we make the hand look like actual hand?
@NotnotADHD
@NotnotADHD Жыл бұрын
I have a issue. I dont know what the app that you used to code python in is called or where to download it. please help
@josippardon8933
@josippardon8933 2 жыл бұрын
Great tutorial. Acctually, there is automatic way to put points in origin and destination variables of line objects. Have points named "Point (...,...)" and lines "Line ...-....". Then write this code: public class LineCode : MonoBehaviour { LineRenderer lineRenderer; public Transform origin; public Transform destination; // Start is called before the first frame update void Start() { lineRenderer = GetComponent(); lineRenderer.startWidth = 0.1f; lineRenderer.endWidth = 0.1f; //THE CODE: string[] pointIndexes = gameObject.name.Split(' ')[1].Split('-'); origin = GameObject.Find($"Point ({pointIndexes[0]})").transform; destination = GameObject.Find($"Point ({pointIndexes[1]})").transform; } // Update is called once per frame void Update() { lineRenderer.SetPosition(0, origin.position); // 0 => starting point lineRenderer.SetPosition(1, destination.position); // 1 => ending point } }
@aisteelmemesforaliving
@aisteelmemesforaliving Жыл бұрын
this is the way.
@coderserabutan
@coderserabutan 11 ай бұрын
really cool, but this project need python server to run the hand tracking. so, it cannot separate with the server when the unity build into mobile platform, I mean it cannot run only using unity. thats sad.
@Lightyboii
@Lightyboii 7 ай бұрын
Theres a system to use python in unity
@coderserabutan
@coderserabutan 7 ай бұрын
@@Lightyboii really? run python server? how?
@Lightyboii
@Lightyboii 7 ай бұрын
@@coderserabutan theres a Python addon in unity. And AFAIK it does support modules. Not sure about Android though. Havent used unity in a while.
@adityasprojects7126
@adityasprojects7126 2 жыл бұрын
Can you make a video where you do evrything in Unity. There is Opencv module in UNity also right. This will be easy for deployment and more advance project. I couldnt find any proper video explaing it.
@holoments
@holoments 2 жыл бұрын
There is an opencv package at asset store what you can play with
@nemeziz_prime
@nemeziz_prime 2 жыл бұрын
Hello Sir, I had a question. Can we deploy DL models inside a Desktop App for Windows/Linux? I searched for solutions but couldn't come up with any reasonable ones
@felixtechverse
@felixtechverse Жыл бұрын
Where can I find the udp script? I didn't find it on the website.
@YigalBZ
@YigalBZ 2 жыл бұрын
Thanks for the nice and interesting project. How will it work on a SBC like Jetson Nano? What I don't understand is how this software will be able to utilize the GPU?
@dinukachathurangashow8571
@dinukachathurangashow8571 3 ай бұрын
this will only work in x and y axis right ? is there any other way to get depth information for z axis ? so we can use it in 3d space.
@aakash723
@aakash723 2 жыл бұрын
is 2gb ram of respberry pi 4 is sufficient for making opencv Projects.. like find contours
@flickermarc6308
@flickermarc6308 Жыл бұрын
Does anyone know a way to implement two hands in Unity I already made it so it can track two in OpenCV But I'm having trouble implementing it in unity
@adhviklalthoppe2214
@adhviklalthoppe2214 2 жыл бұрын
Hey, great video. I was wondering how you could implement the python so that it opens up whenever the unity project opens up?
@bceg3961
@bceg3961 2 жыл бұрын
I need it!
@dante_zu
@dante_zu 2 жыл бұрын
Hi! You can Import "os" library to python and use "os.startfile(path to your .exe file)" in order to execute the compiled Unity Project.
@bceg3961
@bceg3961 2 жыл бұрын
How to create a build of this application? Is it necessary to run the code in python and in c#? I don't understand.
@luigiesposito2481
@luigiesposito2481 2 жыл бұрын
hello Friend would you help me do it for online game capture? people use CV to detect enemies and attacks on aim does this do the same?
@umam.ytchannel9464
@umam.ytchannel9464 2 жыл бұрын
now i am in a good mood
@modelad3d
@modelad3d Жыл бұрын
What logic can I use so that when separating or moving the hand away the same thing happens in the 3D environment instead of the hand being scaled? I've tried everything and I can't find a solution.
@林裕锋
@林裕锋 2 жыл бұрын
Hello sir, I want to ask why the effect line I made is separated from the sphere
@deejaysushant
@deejaysushant Жыл бұрын
What the performance in using in a mobile?
@mrdotss4967
@mrdotss4967 9 ай бұрын
Thank you so much, but I have a question? Will it work on mobile android/ios?
@justfeta8409
@justfeta8409 2 жыл бұрын
amazing....
@lakpatamang2866
@lakpatamang2866 Жыл бұрын
can we build this in mobile?
@iqrobotics8960
@iqrobotics8960 2 жыл бұрын
Hi bro ap Indian sy ha ya Pakistan sy
@abdelhaksaouli8802
@abdelhaksaouli8802 2 жыл бұрын
what is the z coordinate in hand track output ?
@RoboTron_Channel
@RoboTron_Channel 2 жыл бұрын
Ты очень крутой, спасибо!
@yuchen3587
@yuchen3587 Жыл бұрын
Can this algorithm run on mobile devices like iOS or Android?
@howtogamedev_
@howtogamedev_ Жыл бұрын
how can i make this work if I wanted to make a android build from unity and use the phone camera to do the hand tracking
@ShivGp-tr3vk
@ShivGp-tr3vk Жыл бұрын
Hai...thankyou so much for this video, this was so helpfull for me to make a project with this method. its work for me but can u give me another video about how the hands can grab the object like do some 360 move for the object, hope u saw this message, thankyou
@zoterodisuke4398
@zoterodisuke4398 Ай бұрын
Is it possible to do this but for fullbody?
@rajputnehu05.
@rajputnehu05. 2 жыл бұрын
Work bot, thanks broo
@BestMakerHackerCreater
@BestMakerHackerCreater Жыл бұрын
how we can use phone camera ??
@adhamymagdy8211
@adhamymagdy8211 2 жыл бұрын
what is the algorithm used in this project
@menaeem
@menaeem 2 жыл бұрын
Can we build apk out of it???
@yoshirovilchez3392
@yoshirovilchez3392 2 жыл бұрын
Hi! I'm new ! How can I start in this field of Computer Vision? My dream is work in this kind of projects :)
@LeDiop
@LeDiop 2 жыл бұрын
Did someone find how to move on the z axis ? I'm trying it so hard ! because the z is based on the wrist point so it stays at 0 ...
@calvinthapro616
@calvinthapro616 2 жыл бұрын
Hey, did you find a solution?
@itsjustepic5029
@itsjustepic5029 2 жыл бұрын
@@calvinthapro616 i didnt find one can you sent me the code my english and python knowledge is noct so good
@yuchundehanguo5555
@yuchundehanguo5555 2 жыл бұрын
Orang Vrindavan pada pinter pinter yah
@balajinaidu9482
@balajinaidu9482 9 ай бұрын
hey sir, You done a great job but can you guide or make a tutorial for the hand tracking android application using mediapipe and unity
@RC8Retro619
@RC8Retro619 Жыл бұрын
Does anybody know how I can use the hand tracking as input so instead of colliding with the cube at the end, moving my hand left or right will move the cube left or right. Im trying to make a game with openCV using Unity for a school project and I am a bit stuck!
@alidkjfk
@alidkjfk 2 жыл бұрын
for z , in lmList dictionary you have a center position yo can use math.hypot to calculation 0 position with center position and with numpy.interp you can make a relation with this space and plus it to z positions , my language is not English and i can explain this good but I hope you understand how is it work!
@mariusarnbjerg8864
@mariusarnbjerg8864 2 жыл бұрын
Can you elaborate on this? What would the code look like?
@ry2453
@ry2453 2 жыл бұрын
hello sir, can you explain about udp receive scripts? thanks
@AlexSilva-cn1gp
@AlexSilva-cn1gp Жыл бұрын
Hello, nice work! I wanted to know if there was a way to create a system for grabbing objects that are in unity, could anyone tell me?
@dilaymenemencioglu1865
@dilaymenemencioglu1865 2 жыл бұрын
How can i get APK for this project?
@samma-pixelstudio
@samma-pixelstudio 2 жыл бұрын
Only if you integrate the hand detector in the unity project ung the opencv plugin for unity
@ajayysingh4976
@ajayysingh4976 2 жыл бұрын
Can u plzz say wt is the objective and scope of this project
@kristijan1991ful
@kristijan1991ful 2 жыл бұрын
Is hard implement to recognize more hands. Like both hands, or 4 hands. For example 2 players use both hands to play game.
@salloookhan1783
@salloookhan1783 2 жыл бұрын
Can we bring this hand tracking on tft display or other display so we are able to use it without computer like tracking face tracking hands tracking whatever but with out computer pc how can we do this
@rafaroeder
@rafaroeder 9 ай бұрын
amazing tutorial! .. Ive been trying for the last 2 hours to make the hand move on z axis, but the point 0 wont go back and forth.... any hints?? thank you
@RuiMeloViPeR5000
@RuiMeloViPeR5000 2 жыл бұрын
Excelent
@nickdev
@nickdev 2 жыл бұрын
can tihs work on android too?
@Ivystra
@Ivystra Жыл бұрын
When linking the lines, I create the LineCode as a new component for all the lines, but I can't change them individually. Changing the origin and destination points for one changes the origin and destination points for ALL THE LINES. HELP
@spaz3834
@spaz3834 2 жыл бұрын
can you use it in vr ?
@samma-pixelstudio
@samma-pixelstudio 2 жыл бұрын
Yes
@yumyum_99
@yumyum_99 2 жыл бұрын
Hello sir, i cant figure how do you add the z position of the hand tracking, i have tried using triangle similarity algorithm method to detect distance using single webcam but i get nowhere close to the solution. Since u mention the answer for moving hand backward and forward is easy can u explain on that?
@vadox-6807
@vadox-6807 Жыл бұрын
how i can save the python script in unity ?
@Cola_andy
@Cola_andy 6 ай бұрын
How can i make it two hands instead of one
@itsjustepic5029
@itsjustepic5029 2 жыл бұрын
how do i add 2 hands to unity
@Jeetu0702
@Jeetu0702 11 ай бұрын
is there any way to execute file without running python file?
@toxicvaloplayers3210
@toxicvaloplayers3210 2 жыл бұрын
sir collision in unity is not so perfect in this way the hand many times enters the box bcz of hard code points it get from python
@pranshugraak3106
@pranshugraak3106 2 жыл бұрын
Good Afternoon Sir. Sir i am using a depth camera that is intel realsense d435i instead of a normal webcam for this hand tracking but this error ie (index and count must refer to a location within the script ) is showing to me when i write the code ie: data = data.Remove(0, 1); data = data.Remove(data.Length-1, 1). This error is not shown in the case of normal webcam but in the case of intel realsense depth camera this error is shown. Hoping for a fast reply need urgently.
@hamzathassan7080
@hamzathassan7080 2 жыл бұрын
Use this `data = data.Trim(new char[]{'[',']'});`
@ThatDodu
@ThatDodu 2 жыл бұрын
i am gonna guess that means the hand script is not getting any data, try putting all the code in an if statement. First set the variable "string data = udpReceive.data;" and then add this if statement, "if ( data.Length != 0 ) {Put_All_Code_Here}"
@farisdirar2976
@farisdirar2976 2 жыл бұрын
thank brooooooo !!!!!!!!!!
@judetenga2148
@judetenga2148 2 жыл бұрын
Hello there seems to be an error with KeyError: 'lmlist' do you know what the reason of how can resolve that?
@SuperEvilTeam46
@SuperEvilTeam46 2 жыл бұрын
lmList is keyvalue. Propabably what is wrong in code is that u are typing second L in 'lmlist' in small case
@flioink
@flioink 2 жыл бұрын
The "z" component is missing, not sure why.
@judetenga2148
@judetenga2148 2 жыл бұрын
@@flioink ok but what if this issue pops up as well as an error. lmList = hands[0]['lmlist'] KeyError: 'lmlist' [ WARN:1@24.978] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (539) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
@judetenga2148
@judetenga2148 2 жыл бұрын
@@SuperEvilTeam46 ok but what if this issue pops up as well as an error. lmList = hands[0]['lmlist'] KeyError: 'lmlist' [ WARN:1@24.978] global D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (539) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
@flioink
@flioink 2 жыл бұрын
@@judetenga2148 This is a bug with the windows camera driver. I got the same thing occasionally - unplug & plug the usb connector and try again.
@harshahir5901
@harshahir5901 2 жыл бұрын
make video on 3d face recognition android app
Interactive Games using Computer Vision
6:26
Murtaza's Workshop - Robotics and AI
Рет қаралды 55 М.
Hand Tracking with Unity XR Interaction Toolkit
16:30
Valem Tutorials
Рет қаралды 83 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
PyVisual - A new GUI Builder for Python
9:27
Murtaza's Workshop - Robotics and AI
Рет қаралды 51 М.
Learn to Build your First AI Robot in 1 Hour | Python Programming
1:14:41
Murtaza's Workshop - Robotics and AI
Рет қаралды 8 М.
I built a FLEXIBLE ENGINE (New Rotary Design)
18:58
Integza
Рет қаралды 1,7 МЛН
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,3 МЛН
Using Eyetracking to Control my Game
6:56
Jelle Vermandere
Рет қаралды 93 М.
Hand Gesture Detection with Unity XR Hand Tracking
19:38
Valem Tutorials
Рет қаралды 20 М.
The Unity Tutorial For Complete Beginners
46:39
Game Maker's Toolkit
Рет қаралды 4,1 МЛН
Create a LOCAL Python AI Chatbot In Minutes Using Ollama
13:17
Tech With Tim
Рет қаралды 140 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН