Coder Social home page Coder Social logo

vrep-api-python-opencv's Introduction

V-Rep API python OpenCV demo

Demo for track green object by OpenCV.

Scenario:

  • Vision Sensor v0 get image from 3d scene
  • python script get image, and handle by OpenCV - recognise any green object and make marker over it
  • python script return image to Vision Sensor 'v1'

Screenshot:

Video:

File:

  • scene.ttt V-REP scene (based on rosTopicPublisherAndSubscriber1.ttt)
  • handle_vision_sensor.py - python script for handle image from V-REP

Scene:

  • v0 - Vision Sensor - as source image for OpenCV
  • v1 - Vision Sensor - checked as "External input" - for output from python

Install:

Copy in this folder following files from V-REP:

  • remoteApi.so (from V-REP_PRO_EDU_V3_2_2_64_Linux/programming/remoteApiBindings/lib/lib/64Bit)
  • vrep.py (from V-REP_PRO_EDU_V3_2_2_64_Linux/programming/remoteApiBindings/python/python)
  • vrepConst.py (from V-REP_PRO_EDU_V3_2_2_64_Linux/programming/remoteApiBindings/python/python)

Start:

  1. Files remoteApi.so, vrep.py, vrepConst.py have to be copied in this folder
  2. Start V-REP, open scene.ttt file
  3. Start Simulation
  4. In console start python script: $ python handle_vision_sensor.py
  5. Image in v1 Vision sensor - from python

vrep-api-python-opencv's People

Contributors

nemilya avatar

Watchers

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