Coder Social home page Coder Social logo

dog-cat-classfier's Introduction

Object Classification with Webcam using Keras

This project demonstrates real-time object classification on webcam video frames using a pre-trained Keras model.

Requirements

  • Python 3.7 or higher
  • TensorFlow 2.6.0
  • Keras 2.6.0
  • OpenCV 4.5.3.56

Installation

  1. Clone the repository:

git clone https://github.com/your-username/your-repo.git

  1. Navigate to the project directory: cd object-classification-with-webcam

  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Ensure your webcam or capture device is connected to your computer.

  2. Run the program:

  3. The program will start capturing video frames from the webcam and perform real-time object classification. The predicted class labels and confidence scores will be printed on the console.

  4. Press the ESC key to exit the program.

Customization

  • If you have your own pre-trained Keras model, replace keras_Model.h5 with your model file in the code (main.py).

  • Modify the code to customize the input shape, model architecture, or any other aspects as per your requirements.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

dog-cat-classfier's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.