×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How can I find theta on Matlab?

How can I find theta on Matlab?

How can I find theta on Matlab?

(OP)
Hello!

I'm working on a Tennis Ball Machine Project. The project aims to change the idea of tennis ball being shot at random on the tennis court, but to have the capability to intellectually interact with the player giving a tougher training exercise.
By utilizing image processing (Visual Servoing) , the project once completed will have a fully automated "Tennis robot" that detects where the player is on the court and intelligently interacts with him/her.

Anyway, the part I'm working on right now is to detect the player in the tennis court.
For now the camera only detect the player and give its coordinates on the screen in pixels.
However, I want to find the player location in real time (in the real court), this can be done by finding the the theta in Matlab between the norm and the player.

My question is how can I find theta?

Check the attachment for better clarification.

Thanks ..

RE: How can I find theta on Matlab?

I would agree that trigonometry is how you can find theta.

RE: How can I find theta on Matlab?

It is a bit unclear as to whether you have coordinates from your camera, Abrar. But in either case it's certainly unnecessary to be pretentious *cough cough IRSTUFF*. Assuming you do have the necessary information you can find theta with the formula provided in your picture I modified (attached).

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources