Giter VIP home page Giter VIP logo

qualityconrolmirrorproduction's Introduction

Image Processing Method of Quality Control in Mirror Production

Algorithm in detail

Description

This script introduces an image processing algorithm which detects reflection lines on a mirror to find structural faults (such as cambering, deorientiaton, etc.). The algorithm can use its input stream from only one camera, and the camera's positioning is not that important.

The algorithm relies on reflecting uniformed sloped lines into a mirror which will be tested. Due to the camera and environment settings, we have set the default "line detection" amount for calculating average slope as two. For desire of more accurate average angles, please update the minimum line detection amount to an increased number.

  • Tile structure analysis: It allows you to define enclosed areas to find average angles for each-area individually.
  • Debug and log support: Within the debug feature, you can see the chances made in each step of the algorithm both as text, and images.
  • High FPS: The algorithm operates on 30-40FPS on average. Thanks to its easy-to-understand mechanism, the FPS can be increased easily with small adjustments.

Usage

[TODO: Detailed usage] Nam malesuada egestas eros, vehicula varius lorem auctor eu. Nunc dolor nulla, elementum quis sem quis, ultricies elementum nibh. Donec auctor commodo odio lacinia egestas. Duis a lacinia leo. Curabitur sem risus, sollicitudin quis lacus et, varius accumsan urna.

~$ python3 src/detector.py -i path/to/image.png -t 5 2 -lf logs.txt -sd results/dir/path/

Contribution

All contributions are welcome. You can find the guidelines in CONTRIBUTING.md.

License

This project is under the GPL-3.0 license.

qualityconrolmirrorproduction's People

Contributors

deepsource-autofix[bot] avatar deepsourcebot avatar electricalgorithm avatar

Stargazers

 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.