Page 1 of 1

Working with Image Sensor remote by Python API and OpenCV

Posted: 06 Apr 2016, 16:02
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

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

Posted: 07 Apr 2016, 09:01
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

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

Posted: 07 Apr 2016, 10:55
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