Working with Image Sensor remote by Python API and OpenCV

Typically: "How do I... ", "How can I... " questions
Post Reply
nemilya
Posts: 12
Joined: 11 Feb 2015, 10:02

Working with Image Sensor remote by Python API and OpenCV

Post by nemilya »

Hello!

I've did simple proof-of-concept for handling image by OpenCV (Python API).

Source:
https://github.com/nemilya/vrep-api-python-opencv

Image from 'v0' -> python API -> OpenVC -> python API -> 'v1'.

I have colors changes after this process in 'v1'

Image

Also - now tmp file are created to handle data in openCV - think there is better solution..

Thanks!
Ilya

coppelia
Site Admin
Posts: 10396
Joined: 14 Dec 2012, 00:25

Re: Working with Image Sensor remote by Python API and OpenC

Post by coppelia »

Hello Ilya,

nice! The better solution would be to wrap the whole functionality in a plugin. Then your plugin could offer new script functions, that when called, will execute some code in the plugin and OpenCV.

Cheers

nemilya
Posts: 12
Joined: 11 Feb 2015, 10:02

Re: Working with Image Sensor remote by Python API and OpenC

Post by nemilya »

coppelia wrote:Hello Ilya,

nice! The better solution would be to wrap the whole functionality in a plugin. Then your plugin could offer new script functions, that when called, will execute some code in the plugin and OpenCV.

Cheers
Thanks!

Will see.

I've fixed python script, and now all ok (with colors):
Image

Post Reply