Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phurin-git/object-inspection-opencv-python
This repository features a machine vision project using Python and OpenCV to inspect various geometric shapes, including circles, triangles, rectangles, and pentagons. The project provides a graphical user interface (GUI) with three tabs to facilitate real-time object inspection, camera calibration, and filter parameter adjustment.
https://github.com/phurin-git/object-inspection-opencv-python
image-processing machinevision opencv python pythonopencv
Last synced: 7 days ago
JSON representation
This repository features a machine vision project using Python and OpenCV to inspect various geometric shapes, including circles, triangles, rectangles, and pentagons. The project provides a graphical user interface (GUI) with three tabs to facilitate real-time object inspection, camera calibration, and filter parameter adjustment.
- Host: GitHub
- URL: https://github.com/phurin-git/object-inspection-opencv-python
- Owner: phurin-git
- License: mit
- Created: 2024-07-21T13:39:44.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T22:29:52.000Z (4 months ago)
- Last Synced: 2024-07-21T23:33:15.539Z (4 months ago)
- Topics: image-processing, machinevision, opencv, python, pythonopencv
- Language: Jupyter Notebook
- Homepage:
- Size: 4.65 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Machine Vision Project with Python and OpenCV
This repository features a machine vision project using Python and OpenCV to detect various geometric shapes, including circles, triangles, rectangles, and pentagons. The project provides a graphical user interface (GUI) with three tabs to facilitate real-time object inspection, camera calibration, and filter parameter adjustment.
## Features
- **Object Inspection:** Detects/inspect and identifies geometric shapes (circles, triangles, rectangles, pentagons) in real-time using OpenCV filters.
- **GUI Interface:** Includes a user-friendly GUI with three tabs for different functionalities:
- **Measurement Tab:** Displays real-time object detection results and visualizes the identified shapes.
- **Calibration Tab:** Provides tools for calibrating the camera using a checkerboard pattern to improve accuracy.
- **Parameter Tab:** Allows users to set and adjust filter thresholds to optimize detection performance.## Components
- **Python:** The programming language used for developing the project.
- **OpenCV (cv2):** Essential for computer vision tasks, including real-time object detection and image processing.
- **Pillow (PIL):** Used for image handling and integration with the Tkinter GUI.
- **NumPy:** Provides support for numerical operations on images and arrays.
- **Imutils:** Offers convenience functions for image processing, such as resizing and displaying images.
- **Tkinter:** The standard Python library for creating the graphical user interface (GUI) of the application.
- **Math:** Provides mathematical functions used for geometric calculations related to shape detection.
- **Glob:** Used for file handling, particularly for searching for calibration images.
- **Time:** Handles time-related functions, useful for timing operations and delays.
- **USB Camera:** Captures real-time video feed for object detection and calibration.