How I built a Computer Vision Video game | with Opencv, Mediapipe and Python

preview_player
Показать описание

Last week I came up with an idea: to make a game with computer vision. I had the part made with Pygame (python library for making games) and I integrated tracking of the movements of the body with OpenCV. For the tracking of the hand, which will be the joypad of our game, I used MediaPipe.

➤ Courses:

➤ Follow me on:

➤ For business inquiries:

#Computervision #Pygame #Mediapipe
Рекомендации по теме
Комментарии
Автор

Quality content
Brother please make next video on balloon game that murtazas workshop had made.

JADE
Автор

Thanks, I just developed a software to track hands and control the mouse far, and i was thinking about how to click, and you used a good a idea in this video, i dont thinked about use circles at the points

PedroHenrique-xdvs
Автор

Me encanta tu canal. Gracias por compartir tu conocimiento.

nqotnyi
Автор

AttributeError: module 'image' has no attribute 'load'

romanregmi
Автор

Hi, I am not being able to get background added in SCREEN? Please help me..

gautamsunar
Автор

I want to keep the number of mosquitoes and bees constant at 10, I want a total of 20 insects in 60 seconds, how can I do it?

vechesinishto
Автор

Hi! Thank you for this, is it possible if u show us what you did after you modify the mediapipe code? I have no background in this field and my Thesis is controlling a game using a hand gesture but I'm having a hard time understanding the source code. Thank you <3

DakilangFisherman
Автор

how can we do it with other body parts...say our feet?!!

amankothari
Автор

The image does not have any draw Attribute nor does it has any attribut called load

atharvajindal
Автор

amazing, can you do this without display the camera window

kubernetes
Автор

Hi sir can you make another game Pygame and opencv

_arbindthokchom
Автор

This image library is itself not there

atharvajindal
Автор

it's not working, no draw attribute drawing

Life-zxwp
Автор

i think it was awful because you had several files like image that you even do not mention !

AmaxLegend
Автор

x, y = hand_landmarks.landmark[9].x, hand_landmarks.landmark[9].y
it gives me error

hosamfakher
Автор

bu hata mesajını alıyorum neden olabilir.
Traceback (most recent call last):
File code\main.py", line 6, in <module>
from game import Game
File code\game.py", line 6, in <module>
from hand import Hand
File code\hand.py", line 4, in <module>
from hand_tracking import HandTracking
File code\hand_tracking.py", line 1, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'

yahyasubutay
Автор

Bro module 'mediapipe.python.solutions' has no attribute 'drawing_styles'
This error

JADE