In my humble opinion, there are several other libraries (like Qt, which
OpenCV may use when one selects "highGui", for instance) that has proper
tools for user interaction, is able to create an image from vector
drawings, which may be easily used to create an OpenCV image from, for
instance, its binary buffer, then use OpenCV for what it was made for.