Code Monkey home page Code Monkey logo

visualdimension's Introduction

This program is made public for demonstration and archive purposes. It is very unfinished. It involves a lot of hacks and workarounds. It completely ignores many problems encountered. So don't even try to read it, it is a waste of time.

An unfinished personal project of vision system (computer/machine vision) metrology software I wrote years ago (November 2017). It uses OpenCV to measure the machine part's dimensions. I tested it a little bit on some CAD pictures on Windows operating system. I gave up midway due to laziness and lack of knowledge. I was in the process of rewriting the software at that time, so probably won't work. It probably won't compile nowadays.

If I remember correctly, the process requires reference objects that have known dimensions. I was using a circle and a polygon. First, the program thresholding the picture. Then, it finds the contour. Finally, it measures the dimensions based on the contour data.

For example, if we know the dimensions of the reference object and a straight line on the reference object's contour is 1 cm, if a straight line on the target part's contour is 2 times the length of the straight line on my reference object's contour, I can get the target part's straight line is 1x2=2cm. The same also applies to a circle's radius, diagonal line, arc, etc.

In backup directory, there are some older source codes files. At that time, I was not using git because I was not fluent and was too afraid to use git.

visualdimension's People

Contributors

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