Skip to content

malvarez88/camviewer-ai

Repository files navigation

CamViewer.ai

CamViewer.ai is a web application built with Next.js, TypeScript, and Tailwind CSS that allows users to interact with their computer's camera and utilize AI to detect and identify elements on the screen. The application highlights detected persons in red and other objects (like chairs, dogs, etc.) in green using a canvas overlay.

Website

CamViewer-AI

Features

  • AI Detection: Utilizes models from TensorFlow to detect persons and other elements.
  • Dynamic Styling: Styled using Shadecn for a modern and responsive design.
  • Iconography: Icons provided by Radix Icons and Lucide Icons.
  • Recording: Ability to record video and take screenshots.
  • Auto-Record: Automatically starts recording when a person is detected.

Installation

You can use either yarn or npm to install and run the project.

Using Yarn

  1. Clone the repository:
    git clone https://github.com/malvarez88/camviewer-ai.git
  2. Navigate to the project directory:
    cd camviewer-ai
  3. Install the dependencies:
    yarn install
  4. Start the development server:
    yarn dev

Using npm

  1. Clone the repository:
    git clone https://github.com/malvarez88/camviewer-ai.git
  2. Navigate to the project directory:
    cd camviewer-ai
  3. Install the dependencies:
    npm install
  4. Start the development server:
    npm run dev

Usage

  1. Open your browser and navigate to http://localhost:3000.
  2. Allow camera access when prompted.
  3. Use the interface to start detecting elements, recording videos, and taking screenshots.
  4. Enable auto-record to start recording automatically when a person is detected.

Dependencies

Contribution

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request.

License

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

Releases

No releases published

Packages

No packages published

Languages