Giter VIP home page Giter VIP logo

color_detection_from_webcame's Introduction

Color_Detection_From_Webcame

OutPut:

Video Link=> https://drive.google.com/file/d/1D65ypbX8alYWWjPwiui66_wiyAkP25vA/view?usp=sharing

Color Detection

This project is a simple color detection and tracking application using Python and OpenCV. It allows you to interactively specify a color range and track objects of that color in real-time video from your webcam.

Features

  • Real-time color detection and tracking.
  • Interactive adjustment of color range using trackbars.
  • Webcam integration for live video input.
  • Easy-to-use graphical user interface.

Prerequisites

Before running the Color Detection From Webcam project, ensure you have the following installed:

  • Python 3.x
  • OpenCV (cv2)

You can install OpenCV using pip:

pip install opencv-python

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/Ahmad10Raza/Color_Detection_From_Webcam.git
  2. Navigate to the project directory:

    cd Color_Detection_From_Webcam
  3. Run the Color Detection application:

    python Color_Detection_With_Contours.py
  4. Adjust the color range using the trackbars to detect and track objects of the specified color.

  5. Press the 'Esc' key to exit the application.

Usage

  • Launch the application and make sure your webcam is active.
  • Use the trackbars to adjust the lower and upper HSV values to specify the color range you want to detect.
  • The program will display the original video feed along with a mask showing the detected color range and the resulting color-tracked video.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please open an issue or submit a pull request.

License

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

Acknowledgments

  • Thanks to the OpenCV community for the powerful computer vision library.
  • Inspired by the need for simple color detection and tracking tools.

Author

Happy color detection! ๐ŸŒˆ

color_detection_from_webcame's People

Contributors

ahmad10raza avatar

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.