PyVerse icon indicating copy to clipboard operation
PyVerse copied to clipboard

[Code Addition Request]: object dedection by colour using opencv

Open akashlogics opened this issue 1 year ago • 1 comments

Have you completed your first issue?

  • [X] I have completed my first issue

Guidelines

  • [X] I have read the guidelines
  • [X] I have the link to my latest merged PR

Latest Merged PR Link

completed pr #476

Project Description

The code snippet sets up a basic color detection system using OpenCV's Trackbars to dynamically adjust the HSV (Hue, Saturation, and Value) values for detecting a specific color in real-time from a webcam feed.

Code Breakdown:

  1. nothing(x) Function:

    • This is a placeholder function for the trackbar callback. It doesn't need to perform any action, so it's left empty.
  2. Creating Trackbars:

    • Six trackbars are created for adjusting the lower and upper limits of the HSV values.
    • L-H, L-S, L-V trackbars adjust the lower bounds for hue, saturation, and value, while U-H, U-S, U-V adjust the upper bounds.

Full Name

Akash R

Participant Role

GSsoc24-extd and hacktoberfest

akashlogics avatar Oct 11 '24 15:10 akashlogics

🙌 Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible.

Feel free to join our community on Discord to discuss more!

github-actions[bot] avatar Oct 11 '24 15:10 github-actions[bot]

✅ This issue has been closed. Thank you for your contribution! If you have any further questions or issues, feel free to join our community on Discord to discuss more!

github-actions[bot] avatar Nov 19 '24 08:11 github-actions[bot]