✨ Live demo : https://objectdetection-tensorflowjs.netlify.app
This educational project showcases a real-time object detection application built with TensorFlow.js and the CocoSSD_model. By leveraging the power of machine learning, the project enables you to detect objects in real-time using your webcam. The user interface is developed using React, and the build tool used is Vite. This repository contains the source code for the project.
Before running this project, make sure you have the following software installed on your system:
- Node.js (v18.14.2 or higher)
- pnpm (v8.2.0 or higher)
NB: You also need to have a webcam connected to your device.
To get started with the project, you will need to clone this repository and install the dependencies. You can do this by running the following commands in your terminal:
git clone https://github.com/emvk09/objectdetection-tensorflowjs.git
cd objectdetection-tensorflowjs
pnpm install
Once you have installed the dependencies, you can run the app locally by running the following command:
pnpm run dev
- This will start the development server and open the application in your default browser.
- Grant camera access permission when prompted by the browser.
- The application will use your webcam to detect objects in real-time. Detected objects will be displayed on the screen with bounding boxes and labels.
If you want to build the app for production, you can run the following command:
pnpm run build
This will generate a production-ready build of the application in the dist
directory.
This project is licensed under the Unlicense License. See the LICENSE file for details.
Feel free to customize this README file further, adding any relevant details or explanations to make it more suitable for your project.