Giter Site home page Giter Site logo

sanjanaaa17 / shape-detection Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 15 KB

Shape Detection uses OpenCV to identify and categorize geometric shapes in images. It provides key metrics like area, perimeter, and centroids for triangles, rectangles, squares, pentagons, hexagons, and circles

Jupyter Notebook 100.00%

shape-detection's Introduction

Shape-Detection

Shape Detection uses OpenCV to identify and categorize geometric shapes in images. It provides key metrics like area, perimeter, and centroids for triangles, rectangles, squares, pentagons, hexagons, and circles.

Description:

The Shape Detection Project is a computer vision application designed to identify and categorize geometric shapes within an image using the OpenCV library. Leveraging contour analysis, the program extracts valuable information such as area, perimeter, and centroid coordinates for each detected shape. The supported shapes include triangles, rectangles, squares, pentagons, hexagons, and circles. The intuitive script provides a practical tool for understanding and analyzing the composition of images, making it particularly useful in fields such as image processing, computer vision research, and educational contexts.

Key Features:

Contour-Based Detection: Utilizes OpenCV's contour analysis to identify distinct shapes within an image. Comprehensive Metrics: Calculates and displays essential metrics, including area, perimeter, and centroid coordinates for each detected shape. Shape Categorization: Categorizes shapes into predefined types, facilitating easy interpretation of the image's geometric composition. User-Friendly Interface: The script prompts users to input the path to their image, making it accessible for both novice and experienced users.

To run the code you can use Jupyter Notebook/Google Colab.

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.