GithubHelp home page GithubHelp logo

sick-appspace-samples / visionary_s_ap_boxmeasurement Goto Github PK

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

To measure the width and length of boxes. Topics: #view #visionary #stereo #box #measure #sick-appspace

License: The Unlicense

CSS 0.26% HTML 5.51% Lua 94.23%
view visionary stereo box measure sick-appspace

visionary_s_ap_boxmeasurement's Introduction

Visionary_S_AP_BoxMeasurement

To measure the width and length of boxes.

Description

The app uses the Shape3D.fitPlane() with LEASTSQUARES and RANSAC in combination

Following steps are done for each image to calculate the dimensions of the box: 1. Find connected flat regions in the image 2. From the flat regions, retain only the ones which contain the center pixel - called box region 3. Widen the box region by dilation and calculate its edges 4. Find the largest connected region from the edge image 5. Dilate and fill the holes in the identified region, get its borders 6. In the point cloud, only retain the points that lie within the identified border and within the working range 7. Rotate the point cloud to find the rotation angle where the point cloud is axis aligned 8. From the point cloud of the box, find its bounding box and calculate the dimensions

How to run

Start by running the app (F5) or debugging (F7+F10). Set a breakpoint on the first row inside the main function to debug step-by-step. See the results in the viewer on the DevicePage.

Topics

view, visionary, stereo, box, measure, sick-appspace

visionary_s_ap_boxmeasurement's People

Contributors

sickappspace-dev 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.