drawing rectangle or circle on image obtained from vision sensor
drawing rectangle or circle on image obtained from vision sensor
I'm using CoppeliaSim 4.5.1 in Ubuntu 18.04 LTS. My goal is to draw a primitive shape (e.g. rectangle or circle) on the image obtained by vision sensor. The scenes shipped with CoppleliaSim aren't straightforward enough for my purpose. In addition, I would like to switch between two colors (i.e. red and green) based on a signal triggered from an external client via ZeroMQ API using C++. Could you please assist me in this matter?
Re: drawing rectangle or circle on image obtained from vision sensor
Scene vision/imageProcessingDemo1-lua.ttt does some simple drawing onto the vision sensor image, using the simIM plugin.
Re: drawing rectangle or circle on image obtained from vision sensor
Yes, via negative thickness param in some frunctions, or specific filling functions of simIM.