Augmented reality rotation & zoom

  • Context: Graduate 
  • Thread starter Thread starter tyrskyzz
  • Start date Start date
  • Tags Tags
    Reality Rotation Zoom
Click For Summary
SUMMARY

The discussion centers on calculating the rotation and zoom of a 2D rectangle in an augmented reality engine using corner coordinates from a webcam stream. The user has successfully detected the four corner coordinates but faces challenges due to the coordinates not forming a right-angle quadrilateral. This indicates a potential projection issue, suggesting that the rectangle's image may be distorted in space. The conversation highlights the need for precise geometric calculations to derive the x-, y-, and z-rotations and zoom levels from the provided coordinates.

PREREQUISITES
  • Understanding of augmented reality concepts
  • Familiarity with 2D coordinate systems
  • Knowledge of geometric transformations
  • Experience with computer vision techniques
NEXT STEPS
  • Research geometric transformations in augmented reality
  • Learn about perspective projection and its effects on 2D shapes
  • Explore algorithms for calculating rotation and scaling from corner coordinates
  • Investigate tools like OpenCV for image processing in augmented reality
USEFUL FOR

Augmented reality developers, computer vision engineers, and anyone involved in image processing and geometric transformations in AR applications.

tyrskyzz
Messages
1
Reaction score
0
I'm working on augmented reality engine and I have a following problem.
I'm tracking a 2D rectangle tracking picture inside an other picture (webcam stream).
I have detected all four 2D corner coordinates for that tracking picture.

Now I need to calculate from the corner coordiantes how the original tracker picture has rotated (x-,y-,z-rotations) and zoomed.
Bare in mind that the coordinates doesn't create right angle quadrilateral.
Any ideas how I can do it?
Thanks for any advice.
 
Physics news on Phys.org
You haven't given enough information to define a specific problem. Perhaps people who write virtual reality programs all know what you are talking about, but I don't. On one hand you say you are tracking a 2D "rectangle" and on the other hand you say that the coordinates don't define a right angle quadrilateral. So is this some sort of projection problem? Are we looking at the image of a 2D rectangle in space projected onto a plane?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K