This project is an exercise inspired by the course "Build a Web Based Smart Camera in JavaScript" offered by Google for Developers and taught by Jason Mayes. Leveraging the knowledge available up to the specified date, I've developed an application that demonstrates the integration of machine learning models into a web environment.
The main objective of this project is to create an "Intruder" application capable of recognizing a person, capturing photos that can be downloaded, and sending a message to a mobile device via WebSockets. The application utilizes machine learning models to detect and classify objects, specifically focusing on identifying intruders.
- Live Webcam Feed: The application provides a live webcam feed, allowing real-time detection and classification of objects.
 - Intruder Detection: Using machine learning models, the application can identify and highlight potential intruders in the webcam feed.
 - Photo Capture: Users have the option to capture photos of detected intruders, which can be downloaded for further analysis.
 - Mobile Notification: Upon detecting an intruder, the application sends a notification to a mobile device via WebSockets, providing instant alerts. FEAUTURE**
 
- JavaScript: The core language for implementing the application logic.
 - TensorFlow.js: Used for integrating machine learning models into the web application.
 - WebSockets: Employed for real-time communication between the web application and mobile devices.
 - HTML & CSS: Used for structuring the user interface and styling elements.
 
- To enable this feature, ensure that you have the socket-api running alongside this application.
 - Currently, the socket-api will notify you if an intruder appears.
 - link: - socket-api
 
To run the application locally, follow these steps:
- Clone the repository to your local machine.
 - Navigate to the project directory.
 - Install dependencies with 
npm install. - Start the development server with 
npm run dev. - Open your browser and visit 
http://localhost:5173. - Allow webcam access when prompted.
 - Experience the "Intruder" application in action!
 
Special thanks to Jason Mayes for his informative course on building web-based smart cameras. Additionally, gratitude to Google for Developers for providing valuable learning resources and support.
Feel free to reach out with any questions, feedback, or suggestions for improvement. Enjoy exploring the world of machine learning on the web!