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.
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
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.
Hello BharatT,
Take a look at this link, it may help you:
Circular Hough Transform Demonstration
Please use [highlight=Java] code [/highlight] tags when posting your code.
Forum Tip: Add to peoples reputation by clicking the button on their useful posts.
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.
Hello BharatT,
I am glad you have managed to move forward. Is it possible to post your code?
I have no experience in this what so ever and I wouldn't know where to begin!
Hopefully another member here will be able to help you.
If I find any new information I will post back asap.
Please use [highlight=Java] code [/highlight] tags when posting your code.
Forum Tip: Add to peoples reputation by clicking the button on their useful posts.
Hi JavaPF,
Thank u. I have not yet put the code in an understandable format. I have used lots of comments and variables. I will put them them down properly and send it. Please send me ur mail id.