Ask Your Question

miner_tom's profile - activity

2020-07-16 02:32:24 -0600 received badge  Notable Question (source)
2020-01-17 09:13:17 -0600 received badge  Popular Question (source)
2018-08-29 14:50:08 -0600 asked a question Where is cv2.so? Is it now called something else?

Where is cv2.so? Is it now called something else? I have just completed a build of OpenCV. Make file completed successfu

2018-08-29 09:42:24 -0600 asked a question Compile problem. Not finding cuda library.

Compile problem. Not finding cuda library. I am working with ubuntu 16.4. Also, cuda 9.1 is installed and verified as w

2018-01-21 21:00:04 -0600 asked a question ARM core Matrix Mult Ops vs DSP core?

ARM core Matrix Mult Ops vs DSP core? Hello to the community, Longer question is below but the shorter question is: I w

2018-01-21 20:59:51 -0600 asked a question ARM core Matrix Mult Ops vs DSP core?

ARM core Matrix Mult Ops vs DSP core? Hello to the community, Longer question is below but the shorter question is: I w

2017-12-08 04:15:20 -0600 marked best answer Do I need an OpenCV function to read cursor position?

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:

  1. I don't necessarily wish to use the MS operating system long term for the final version.
  2. 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

2017-12-06 12:41:31 -0600 asked a question Do I need an OpenCV function to read cursor position?

Do I need an OpenCV function to read cursor position? Hi to the forum. 35 years ago, when I was working in the Image P

2017-12-06 12:41:24 -0600 asked a question Do I need an OpenCV function to read cursor position?

Do I need an OpenCV function to read cursor position? Hi to the forum. 35 years ago, when I was working in the Image P

2017-10-28 02:16:15 -0600 received badge  Student (source)
2017-10-27 17:28:46 -0600 commented answer newbe question about OpenCV live video capabities

Wow! Thank you so much for the reply. I don't have the time to read the details at the moment but I can assure you that

2017-10-27 17:25:20 -0600 marked best answer newbe question about OpenCV live video capabities

I am an electronics engineer in my 60's and I remember a time when image processing was done with expensive special purpose hardware. I have worked on some of these processing engines. These days, OpenCV can even run on small project boards like the Pi and others.

I am interested in processing real time video and before I get too involved I would like to know if OpenCV can do what I require. For the moment, lets not consider video bandwidth, although I am sure that is an issue.

This should sound a lot like gaming. What I would like to do is take real time video from a camera, and with a joystick, move a visible cursor around in what I believe would be considered a type of overlay (that may have meant something different 30 years ago). If the cursor was in the form of a crosshair (like a target) then I would like to be able to put the crosshair over objects in the camera view.

That does not sound like it would be too hard for OpenCV because there is not any image processing to be done at this stage.

Image processing would come into play if i wanted to tag (shoot, click on, etc.) an object in the camera view. At that point the processor would have to know the position of or follow the object in question.

So, the analogy to a video game would be if I saw a person or moving object in the video field, and I put the cursor onto the object, the processor would have to "know" that the cursor is on the object in question, if i "trained" the processor to follow that kind of object. That would sound to me like a first person shooter game where the object was in live video.

To put this another way, the target would have to "know" that it was tagged.

I hope that makes sense. Thank You Tom

2017-10-27 17:25:20 -0600 received badge  Scholar (source)
2017-10-27 14:22:32 -0600 asked a question newbe question about OpenCV live video capabities

newbe question about OpenCV live video capabities I am an electronics engineer in my 60's and I remember a time when ima