Hi to the forum.
35 years ago, when I was working in the Image Processing industry (yes, I am that old) we made our own cursors from lookup tables. Now, I am working with OpenCV and I have seen how I can draw lines and circles (probably more complex shapes as well) using OpenCV functions (or do you call them modules?).
I am going to generate my own cursor using OpenCV on an OpenCV modified image (matrix). One such that I can change the cursor position on the bounded image by using a joystick or mouse. All that I need now is a way to read the cursor X/Y coordinates.
Now, there are a number of MS Windows functions that are used to get cursor coordinates and display them. Two problems that I see with using these MS c++ functions:
- I don't necessarily wish to use the MS operating system long term for the final version.
- I can see that if I have a camera derived image/matrix from OpenCV, that the XY coordinates received by the MS function might not (probably will not) be aligned with the XY matrix generated by OpenCV.
The above reasons are why I am looking for an OpenCV function to give me cursor coordinates derived from an OpenCV image.
Thank You
Tom