Skip to content

yinkaizhai/AI-Car-Pose-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Car Pose Control 🚗

AI-powered car control system based on TensorFlow.js and Teachable Machine, using camera to recognize user gestures and control virtual car movement.

✨ Features

  • 🎯 Real-time Pose Detection: Uses TensorFlow.js for real-time human pose detection
  • 🚗 Virtual Car Control: Supports forward, backward, turning and other operations
  • 🎮 Gesture Control: Control car movement direction through gestures
  • ⚙️ Gear Shifting: Supports forward gear (D) and reverse gear (R) switching
  • 📱 Responsive Design: Adapts to different screen sizes
  • 🎨 Real-time Visualization: Displays pose keypoints and skeleton

🚀 Usage

Online Experience

Simply open the car.html file to experience

Local Development

  1. Clone the project to local
  2. Use a local server to open car.html (avoid CORS issues)
  3. Click "Start" button to begin recognition
  4. Use gestures to control the car

Control Instructions

  • Forward Gesture: Car moves forward
  • Stop Gesture: Car slows down and stops
  • Turn Left Gesture: Car turns left
  • Turn Right Gesture: Car turns right
  • Spacebar: Switch between forward/reverse gear

🛠️ Tech Stack

  • Frontend Framework: Native HTML5 + JavaScript
  • Graphics Library: p5.js
  • AI Model: TensorFlow.js + Teachable Machine Pose
  • Pose Recognition: PoseNet
  • Styling: CSS3

📁 Project Structure

AI-Car-Pose-Control/
├── car.html              # Main program file
├── cartopview.svg        # Car top view icon
├── README.md             # Project documentation
├── LICENSE               # Open source license
└── .gitignore           # Git ignore file

🔧 Custom Training

The project uses Google Teachable Machine for pose model training:

  1. Visit Teachable Machine
  2. Select "Pose Project"
  3. Train your custom poses
  4. Replace the model URL in the code

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Issues and Pull Requests are welcome!

📞 Contact

For questions or suggestions, please contact through GitHub Issues.


⭐ If this project helps you, please give it a Star!

🚗 Car Resources

Car icon resources from: https://freesvg.org/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages