Skip to content

shashankanand13monu/Game-Automation

Repository files navigation

Game-Automation-Demo

me

Game-Automation-WebApp

This is a Demo of Game Automation

🔗 Demo Links

Streamlit Cloud Streamlit Cloud

How To Run

Creating Running Environment

pip install mediapipe
pip install opencv-python

Optional

pip install pydirectinput
pip install tensorflow
pip install numpy
  • Run Your IDE as Administrator
  • Run The window in which you want to perform opearation
  • Run the Code

Advanced

Add of Remove comment from following code to get Hand Sign Prediction on screen

from tensorflow.keras.models import load_model
model = load_model('mp_hand_gesture')
   # Predict gesture in Hand Gesture Recognition project
                     prediction = model.predict([lmList2forModel])
                     print(prediction)
                     classID = np.argmax(prediction)
                     className = classNames[classID]
                     # show the prediction on the frame
                     cv2.putText(image, className, (10, 50), cv2.FONT_HERSHEY_SIMPLEX,
                                 1, (0,0,255), 2, cv2.LINE_AA)

About

Controlling GTA V with Hand Gestures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published