Hey Mohit such a great idea it is bro . It can be used as controller for many mission critical applications such as bomb deffusal robots , and some critical drone etc . I would love to contribute to.
Thanks for the compliment. You can get the code from the link in the description, with instructions to run the project. Please reply back if you have any issues.
can you please tell me how can i access the real time screen if i try to play any online game using gestures like this? i have created gesture recognization part but i am not able to access the game screen
Please refer the official site and documentation - pypi.org/project/PyAutoGUI/ Install it using pip on Python. It doesn't have any Windows dependencies.
@@PenguinCoders yes thanks i installed it using conda can you please tell me that if i try to play a simple car racing game then what should i change in your code? i am working on this project since many days but still i am not able to play racing car game
Hi, I installed it and tried to run the game-control-using-object-tracking.py script but it is not able to detect the object properly is there a condition that we have to use that green kind of colored pen or any motion is detected.
AttributeError Traceback (most recent call last) in 55 frame = cv2.flip(frame,1) 56 #Resize the given frame to a 600*600 window ---> 57 frame = imutils.resize(frame, width = 600) 58 #Blur the frame using Gaussian Filter of kernel size 11, to remove excessivve noise 59 blurred_frame = cv2.GaussianBlur(frame, (11,11), 0) ~\anaconda3\lib\site-packages\imutils\convenience.py in resize(image, width, height, inter) 67 # grab the image size 68 dim = None ---> 69 (h, w) = image.shape[:2] 70 71 # if both the width and height are None, then return the AttributeError: 'NoneType' object has no attribute 'shape' how to solve this bro I run your code But it have problem
Hi Devendra, the error occurs when there is no green object detected in the frame. Make sure to hold the green object in front of camera before you start the python program. This should solve your error. If you have any problem, drop a mail at mohit@penguincoders.net
Hey Mohit such a great idea it is bro . It can be used as controller for many mission critical applications such as bomb deffusal robots , and some critical drone etc . I would love to contribute to.
Hey KICK-TECH, it was nice to hear that you liked this project. I would love to have your contribution.
@@PenguinCoders I'd love to . Btw I'm Suraj your classmate
great video man! can you please tell me how you did in order for the game to take as input the gestures detected?
Thanks for the compliment. You can get the code from the link in the description, with instructions to run the project. Please reply back if you have any issues.
@@PenguinCoders No issues! Thanks
Good one bro 👍🏽
Thank you
can you please tell me how can i access the real time screen if i try to play any online game using gestures like this? i have created gesture recognization part but i am not able to access the game screen
I used PyAutoGUI library for controling the keyboard movements. You can read more about it here - pyautogui.readthedocs.io/en/latest/
Please refer the official site and documentation - pypi.org/project/PyAutoGUI/
Install it using pip on Python. It doesn't have any Windows dependencies.
@@PenguinCoders yes thanks i installed it using conda can you please tell me that if i try to play a simple car racing game then what should i change in your code? i am working on this project since many days but still i am not able to play racing car game
You can refer this video ruclips.net/video/W5ZU0VALTzU/видео.html
The same instructions should work for your project too :)
Hi, I installed it and tried to run the game-control-using-object-tracking.py script but it is not able to detect the object properly is there a condition that we have to use that green kind of colored pen or any motion is detected.
Hi, yes the script masks only green colour object. So it is advised to use a green object like pen, or ball etc. And you will be able to detect it.
hey mohit can you tell how do i can run the gesture and game at a same and don't understand how to run it please help me
You can check the instructions on the Github repo. Link is in description of the video.
You can refer to this video for instructions for executing the project- ruclips.net/video/W5ZU0VALTzU/видео.html
Hey bro "settingsSnakeFun.py" is not running. what to do next?please help
That is just meant as a configuration file to the main game snakeGame.py You do not need to run the settings file.
Can u make a video of how to run the project from start ??
Thanks for the suggestion. I would definitely try to do one.
@@PenguinCoders yes pls i want to run this project il will be helpful if u can give a tentative date
@@PenguinCoders is it only runnable in ubuntu or linux
Expect the video to come in a day or two. By end of this weekend
You can run it on Windows too, provided you install all the requirements. I haven't tested in Windows though!
AttributeError Traceback (most recent call last)
in
55 frame = cv2.flip(frame,1)
56 #Resize the given frame to a 600*600 window
---> 57 frame = imutils.resize(frame, width = 600)
58 #Blur the frame using Gaussian Filter of kernel size 11, to remove excessivve noise
59 blurred_frame = cv2.GaussianBlur(frame, (11,11), 0)
~\anaconda3\lib\site-packages\imutils\convenience.py in resize(image, width, height, inter)
67 # grab the image size
68 dim = None
---> 69 (h, w) = image.shape[:2]
70
71 # if both the width and height are None, then return the
AttributeError: 'NoneType' object has no attribute 'shape'
how to solve this bro I run your code But it have problem
Hi Devendra, the error occurs when there is no green object detected in the frame. Make sure to hold the green object in front of camera before you start the python program. This should solve your error. If you have any problem, drop a mail at mohit@penguincoders.net
@@PenguinCoders Ok thanks
hi bro can you tell me how to run the project
Please follow the link provided in the description.
You can use these instructions for the project: ruclips.net/video/W5ZU0VALTzU/видео.html