Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm answering this so anyone stumbling across this problem / question doesn't have to do the same research I did.</p> <p>Apparently, accessing and processing a single image doesn't quite fit the definition of augmented reality. There is another keyword for this which I already forgot (sorry), but in case you want to use google you should not focus on AR-related software only.</p> <p>To solve my issue I used two approaches. The first one was to use the ARToolKit together with gstreamer and ffmpeg. I transformed my single-image into one second of video with ffmpeg, exported the ARTOOLKIT_CONFIG string and then rendered the image with ARToolKit. This wasn't really great as this is very limited and I can't really get the rendered image back to me without parsing the artoolkit-opengl output.</p> <p>My second approach however satisfied me very much: I used the OpenCV-Library to detect a marker. An example for something like that can be found here: <a href="http://dasl.mem.drexel.edu/~noahKuntz/openCVTut10.html" rel="nofollow noreferrer">http://dasl.mem.drexel.edu/~noahKuntz/openCVTut10.html</a> I then exported the recognized camera-parameters and transformed them to fit the matrix's used by the Irrlich-Engine (I also tried Ogre but Irrlicht seemed nicer to me) and then rendered my object with it onto the image. I can then obtain the final result with Irrlicht's transformDataToImage() function.</p> <p>The only downside is I have to have an X-Server running to get the rendered picture but I can live with that.</p> <p>Ps: Don't try this with the square marker found in the tutorial I mentioned above. It isn't possible to detect the exact rotation of the marker out of obvious reasons. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload