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'
Also - now tmp file are created to handle data in openCV - think there is better solution..
Thanks!
Ilya
Working with Image Sensor remote by Python API and OpenCV
Re: Working with Image Sensor remote by Python API and OpenC
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
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
Thanks!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
Will see.
I've fixed python script, and now all ok (with colors):