Find the position of the picture / marker inside the photo

I need to find a marker similar to those used in augmented reality. Like this: alt text I have a solid reference on algebra and calculus, but I have no experience in image processing. My thing is php, sql and more.

I just want it to work, I read the theory behind it and it is very difficult for me to see the code for me.

The basic idea is to do this as a batch process, so interactivity is not required. What do you suggest? Input: sample image. alt text

Output: coordinates and normal vector in a 3D marker.

Using for this will link images that have the same marker to project them, a primitive version of the photosync that we could say. Just a carousel of pinned images, the marker acts like a pin.

Presented reports allowed me to post images, thanks.

+6
image-processing augmented-reality marker
source share
2 answers

You can always look at open source libraries such as ARToolkit and see how it works, but in general, to get the 3D coordinates of the marker you need:

  • Calibrate the camera .
  • Find a marker in an image using local functions , for example.
  • Using calibrated camera parameters and marker 2D coordinates makes the approximation of three-dimensional coordinates.

I have never implemented one like this on my own, but I think this is a general concept that you should apply to your method.

+1
source share

Your problem can be solved with a perspective estimate of the p-camera point. When you can reasonably assume that all matches are true, the linear algorithm should be executed.

Since the marker is flat, you can also restore the offset from homography between the model plane and the image plane ( link ). As usual, the best results are obtained by iterative algorithms ( link ).

0
source share

All Articles