Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 ARToolKit 中检索标记的坐标并像 2D 坐标一样保存。所以我可以尝试使用这些坐标剪切一个 jpg 文件。
标记的角和中心的 2D 位置很容易检索。它们存储在 ARMarkerInfo 结构中。角是 ARMarkerInfo.vertex[][],中心是 ARMarkerInfo.pos[]。
最简单的检索位置是在主检测循环中,例如简单或 simpleLite 示例中的 mainLoop。