S6-SA2-0552
What is the Use of Trigonometry in Computer Vision for Object Recognition?
Grade Level:
Class 10
AI/ML, Physics, Biotechnology, Space Technology, Chemistry, Engineering, Medicine
Definition
What is it?
Trigonometry helps computers understand the size, position, and orientation of objects in images, just like our eyes do. By using angles and distances, it allows computers to 'see' and identify different objects, making computer vision for object recognition possible.
Simple Example
Quick Example
Imagine you are looking at a cricket ball. Your brain automatically knows its round shape and how far away it is. Similarly, a computer uses trigonometry to calculate the angles from its 'camera' to different points on the cricket ball, helping it recognise it as a round object and estimate its distance.
Worked Example
Step-by-Step
Let's say a security camera (at point C) needs to identify a car (at point A) and a scooter (at point B) parked on a straight road. The camera knows its height (say, 4 meters) from the ground.
1. The camera measures the angle of depression to the car (A) as 30 degrees.
---2. It also measures the angle of depression to the scooter (B) as 45 degrees.
---3. We can form two right-angled triangles: one for the car and one for the scooter, with the camera's height as the opposite side.
---4. For the scooter (angle 45 degrees): tan(45) = Opposite / Adjacent = 4 meters / distance to scooter. Since tan(45) = 1, distance to scooter = 4 meters.
---5. For the car (angle 30 degrees): tan(30) = Opposite / Adjacent = 4 meters / distance to car. Since tan(30) is approximately 0.577, distance to car = 4 / 0.577 = approximately 6.93 meters.
---6. By calculating these distances, the computer understands the relative positions of the car and scooter from the camera. This is a basic step in object recognition, helping it map out the scene.
Answer: The scooter is 4 meters away, and the car is approximately 6.93 meters away.
Why It Matters
Trigonometry is super important for building smart systems that can 'see' and react to the world. It's used in self-driving cars to avoid obstacles, in medical imaging to detect diseases, and in robotics to help robots navigate. Learning this can open doors to careers in AI, robotics, and even space technology with ISRO!
Common Mistakes
MISTAKE: Confusing angles of elevation with angles of depression. | CORRECTION: Remember, angle of elevation is looking UP from horizontal, and angle of depression is looking DOWN from horizontal.
MISTAKE: Using the wrong trigonometric ratio (sine, cosine, tangent) for the given sides. | CORRECTION: Always remember SOH CAH TOA: Sine = Opposite/Hypotenuse, Cosine = Adjacent/Hypotenuse, Tangent = Opposite/Adjacent. Identify the known and unknown sides relative to the angle.
MISTAKE: Not drawing a clear diagram for the problem. | CORRECTION: Always sketch a right-angled triangle representing the situation. Label the known angles, sides, and the unknown you need to find. This makes the problem much clearer.
Practice Questions
Try It Yourself
QUESTION: A drone camera is 10 meters above the ground. It spots a delivery bike at an angle of depression of 60 degrees. How far is the bike from the point directly below the drone? (Use sqrt(3) = 1.73) | ANSWER: Approximately 5.77 meters
QUESTION: A security camera is mounted on a wall 3 meters high. It needs to identify a person standing 4 meters away from the base of the wall. What is the angle of depression from the camera to the person? | ANSWER: Approximately 36.87 degrees
QUESTION: A robot uses its camera to see a water bottle. The camera is 15 cm above the table. It measures the angle to the bottom of the bottle as 40 degrees and to the top of the bottle as 30 degrees. What is the height of the water bottle? (Assume the bottle is standing upright and the camera is horizontally aligned with the top of the bottle's base). | ANSWER: Approximately 4.6 cm (Distance to bottle = 15/tan(40) = 17.87 cm. Height from camera to top of bottle = 17.87 * tan(30) = 10.3 cm. Bottle height = 15 - 10.3 = 4.7 cm approx).
MCQ
Quick Quiz
Which trigonometric ratio is most commonly used to find the horizontal distance to an object when the camera height and angle of depression are known?
Sine
Cosine
Tangent
Secant
The Correct Answer Is:
C
Tangent relates the opposite side (camera height) to the adjacent side (horizontal distance), which are the key components in such scenarios. Sine and Cosine involve the hypotenuse, which is usually not directly measured first.
Real World Connection
In the Real World
Think about how Google Maps or Zomato show you the location of restaurants or delivery riders. They use complex computer vision and trigonometry to understand distances and positions from satellite images or delivery vehicle cameras. This helps them accurately pinpoint locations and guide you, making your daily life easier, from ordering a dosa to finding your way to school.
Key Vocabulary
Key Terms
COMPUTER VISION: Teaching computers to 'see' and understand images and videos, similar to human vision. | OBJECT RECOGNITION: The ability of a computer system to identify and locate objects within an image or video. | ANGLE OF DEPRESSION: The angle formed by looking downwards from a horizontal line. | TRIGONOMETRIC RATIOS: Relationships between the angles and sides of a right-angled triangle (sine, cosine, tangent). | ORIENTATION: The position or direction of something relative to a fixed point.
What's Next
What to Learn Next
Next, you can explore how these trigonometric principles are used in 3D object recognition and depth perception. Understanding this will help you see how self-driving cars 'build' a 3D map of their surroundings to navigate safely!


