I am doing a project in which i need to find the coordinates of a red laser dot on a screen. The screen can be plain or the desktop can be projected on a screen. Kindly tell me how do i detect the red spot? Thank you in advance.

Now i am able to track the red dot but the problem is that i get a cluster of red pixels so the tracked dots are not stable when i get the pixels from successive frames. I tried to find the pixel using the first red spot but that reduced the problem to a small extent. So kindly tell me how i can stabilize the dot across multiple frames.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.