GithubHelp home page GithubHelp logo

laibashakil / analogue-gauge-reading-automation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.08 MB

This project aimed to automate the reading of analogue gauges using image processing techniques.

License: MIT License

Jupyter Notebook 100.00%

analogue-gauge-reading-automation's Introduction

Introduction

This project aimed to automate the reading of analogue gauges using image processing techniques, with a specific focus on mitigating the negative effects of glare and shadow on the readings. Despite the constraints of an 8-week internship, the primary objective was to conduct data collection and preprocessing to address these challenges. This README provides an overview of the project, detailing the methodologies employed, challenges faced, and future directions.

Project Overview

The project revolved around leveraging computer vision methods to analyze images of analogue gauges, extract pertinent information such as needle position, and derive accurate readings while compensating for glare and shadow effects. The provided code demonstrates the initial steps of the process, including image loading, preprocessing techniques, and visualization of intermediate results.

Code Description

The Python script utilizes OpenCV and NumPy libraries for image processing tasks. Key steps performed include:

  1. Image Loading: The script loads the input image using OpenCV.
  2. Grayscale Conversion: Conversion to grayscale simplifies subsequent processing steps and is less susceptible to glare and shadow.
  3. Adaptive Thresholding: Adaptive thresholding enhances local contrast, aiding in the segmentation of the gauge from the background.
  4. Binary Thresholding: Further refinement of the segmentation is achieved through binary thresholding.
  5. Morphological Operations: Erosion and dilation operations are applied to remove noise and restore the original object size, mitigating the impact of glare and shadow.
  6. Smoothing: Median and Gaussian filtering techniques are employed to further reduce noise and enhance image quality, contributing to more accurate needle detection.

download

Challenges Faced

Several challenges were encountered during the internship:

  • Glare and Shadow: Mitigating the adverse effects of glare and shadow on gauge readings required careful preprocessing and algorithm selection.
  • Limited Dataset: The availability of diverse gauge images with varying lighting conditions was limited, hindering the robustness of the solution.
  • Time Constraints: The 8-week timeframe restricted the depth of exploration and implementation of advanced algorithms for glare and shadow compensation.

Future Directions

Despite the constraints, the project lays the groundwork for future advancements:

  • Dataset Expansion: Collection of a more extensive and diverse dataset encompassing various lighting conditions to improve model generalization.
  • Real-Time Implementation: Adapting the solution for real-time processing in practical applications such as industrial automation and monitoring systems.
  • Integration with Machine Learning: Exploring the integration of machine learning models to learn and adapt to different glare and shadow patterns.

Conclusion

The internship focused on addressing the challenges of glare and shadow in analogue gauge reading automation through data collection and preprocessing. While the full objectives were not achieved within the internship duration, significant progress was made. The provided code and documentation serve as a foundation for future research and development in this domain, with the potential to enhance accuracy and robustness in gauge reading automation systems.

analogue-gauge-reading-automation's People

Contributors

laibashakil 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.