This project demonstrates real-time hand tracking using MediaPipe and TypeScript, bundled with Webpack.
- Node.js (v14 or later recommended)
- npm (comes with Node.js)
- Clone the repository and install dependencies:
cd hand-tracking-project npm install
To run the project in development mode with hot-reloading:
npm start
This will start a development server and open the application in your default web browser.
To create a production build:
npm run build
This will generate production-ready files in the dist
directory.
.
├── src/
│ ├── index.html
│ └── script.ts
├── package.json
├── tsconfig.json
├── webpack.config.js
├── .gitignore
└── README.md
src/
: Contains the source codeindex.html
: The main HTML filescript.ts
: The main TypeScript file containing the hand tracking logic
package.json
: Defines npm package dependencies and scriptstsconfig.json
: TypeScript compiler configurationwebpack.config.js
: Webpack configuration file
- TypeScript
- MediaPipe
- Webpack
- HTML5 Canvas