GithubHelp home page GithubHelp logo

leoregner / object-recongition Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 281.49 MB

Master's Thesis

License: Other

Dockerfile 3.79% JavaScript 48.83% HTML 12.22% Processing 2.96% Shell 1.05% CMake 0.43% C++ 26.74% CSS 2.94% Python 1.04%
workflow-engine workflow-automation object-recognition universal-robot realsense master-thesis

object-recongition's Introduction

Start Using Docker

Using Docker, all required dependencies are installed automatically. All process tasks are deployed as web services in separate Docker containers and can be accessed through the published ports.

docker-compose up -d --build

Start Services Locally

Alternatively, all services can be executed natively on the local machine. All dependencies, libraries and programs that would be installed automatically within the Docker containers are a prerequisite then.

./raspberrypi.sh

Launch Process

Navigate to the process engine and drop the following JSON process model:

[
    {
        "type": "parallel",
        "name": "",
        "branches":
        [
            [
                {
                    "type": "webservice",
                    "name": "scanning position",
                    "method": "POST",
                    "url": "http://localhost:8084/scanpos",
                    "post": "sleep(5 * 1000);"
                },
                {
                    "type": "webservice",
                    "name": "scan scene",
                    "method": "GET",
                    "url": "http://localhost:8081/obj/universalrobot",
                    "pre": "request.expect = 'binary';",
                    "post": "storage.saveBinary('scene', responseBody);"
                }
            ],
            [
                {
                    "type": "webservice",
                    "name": "select object to find",
                    "method": "GET",
                    "url": "http://localhost:8082/example_models/cuboid5000.pcd",
                    "pre": "request.expect = 'binary';",
                    "post": "storage.saveBinary('model', responseBody);"
                }
            ]
        ]
    },
    {
        "type": "webservice",
        "name": "object recognition",
        "method": "POST",
        "url": "http://localhost:8082/bl?angle=90&height=.372",
        "pre": "request.data = new FormData();\nrequest.contentType = false;\nrequest.data.append('scene', storage.loadBinary('scene'), 'scene.obj');\nrequest.data.append('model', storage.loadBinary('model'), 'model.pcd');",
        "post": "storage.saveJSON('recognition', responseBody);"
    },
    {
        "type": "webservice",
        "name": "calculate robot coordinates",
        "method": "POST",
        "url": "http://localhost:8083/coords",
        "pre": "request.data = new FormData();\nrequest.contentType = false;\nrequest.data.append('recognition', this.recognition);",
        "post": "console.log('move clamshell to: ', responseBody);\nstorage.saveJSON('clamshell', responseBody);"
    },
    {
        "type": "webservice",
        "name": "move clamshell",
        "method": "POST",
        "url": "http://localhost:8084/pick",
        "pre": "request.data = new FormData();\nrequest.contentType = false;\nrequest.data.append('coordinates', this.clamshell);",
        "post": "console.log(responseBody);"
    }
]

object-recongition's People

Contributors

dependabot[bot] avatar leoregner avatar

Stargazers

 avatar  avatar

Watchers

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