Skip to content

gauravmandall/cctvAi

Repository files navigation

CCTVAI that detects humans using Next.js, Typescript, Tensorflow.js, shadcn UI components and Tailwind CSS.

Key Features:

  • 🌅 Light, Dark & System theme
  • 🐬 toggle mirror mode
  • 📲 take screenshot
  • 📽️ record 30 seconds video
  • ⏺️ Auto record video when human is detected
  • 🔉 Manage volume level
  • 📱 Base64 encoded image
  • 🧑‍🤝‍🧑 Multi-device responsive
  • 🧠 AI to detect humans

Access the webApp here: https://cctvai.vercel.app/ or build your own by following the steps below.

Hierarchical Structure

architecture

Prerequisite

  • Knowledge of basic understanding of Tensorflow

First fork the repository

fork

Cloning the repository

git clone https://github.com/gauravmandall/cctvAi.git

Install packages

npm i
# or
yarn install
# or
pnpm install

Start the app

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 in your browser to see the result.

Woila! You are done 🎉 give a star ⭐ if you like it.

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Author

Feedback

If you have any feedback, please reach out to us at contact.gauravmandall@gmail.com

Support

Give a Star ⭐ to support my projects.

License

MIT License GPLv3 License AGPL License

MIT License

Copyright (c) 2024 Gaurav Mandal

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.