Augment Reality Processing

Библиотека дополненной реальности для processing

Finally i put online MultiARToolKit Processing library for working with multiple AR markers in one scene. Based on SimpleARToolKit library from Brian Chung

How it work (demo video)

Sample sketch (also included in zip file)

Наконец то дошли руки выложить MultiARToolKit Processing library для работы с несколькими маркерами.

Как оно работает (демо видео)

Пример использования (также присутствует в zip файле)

import ru.cleoag.MultiARToolKit.*;
import net.sourceforge.jartoolkit.core.*;

import JMyron.*;
import processing.opengl.*;

JMyron m;
PImage img;
MultiARToolKit ar;
int capWidth, capHeight;

void setup() {
size(800, 600, OPENGL);
capWidth = 640;
capHeight = 480;
m = new JMyron();
m.start(capWidth, capHeight);
img = createImage(capWidth, capHeight, ARGB);
ar = new MultiARToolKit(this, capWidth, capHeight);
ar.addPattern("patt.hiro", 80, 0.0f, 0.0f,"displayCube");
ar.addPattern("patt.kanji", 80, 0.0f, 0.0f,"displaySphere");

void draw() {

void displayCube(MultiARToolKit _a) {

void displaySphere(MultiARToolKit _a) {

19 replies on “Библиотека дополненной реальности для processing”

Is it supposed to work on osx ? I’ve already found an intel compiled version of JMyron ( that didn’t work before ).

I get this error :
java(17970,0xb1636000) malloc: *** error for object 0x5: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Exception in thread “Animation Thread” java.lang.UnsatisfiedLinkError: no JARToolKit in java.library.path

Do I need to download something else next to it ?

Hi guys, it will be great if you can throw some idea. Thank you:

How can we get the coordinates of one marker with respect to the main coordinate system?

For example how can we get the draw a line in processing between the two markers.

Hi, I wonder why it does not execute properly. Only empty white window pops up and disappears quickly. That’s all and nothing’s drawn.
I inserted some printing code for test, and I found the problem occurs at the statement “ar = new MultiARToolKit(..)”.
Anyone can tell me what version of processing and JMyron make this runs properly. Will the version be a problem?

Hello, thanks for the demo. I’m doing a presentation next Wednesday called “beyond markers” to get people ready for our Global AR Hackathon Open Trials this weekend 4/24. I want to include your library in the list of admissible libraries. Is this kit released under an open source license? Can I teach people how to use it? If they do, what kind of attribution does your library require?

I have still problem with
Exception in thread “Animation Thread” java.lang.UnsatisfiedLinkError: no JARToolKit in java.library.path
anynone found solution? Please!

Thx a lot for your great job here!
However, is there a way to export the skecth as an application?

HI eveyone, Well i need to know if there is a way to know if the pattern is selected, for example in simpleArtoolKit i used to write something like

if (ar.findMatch(img,100)) {

But with multi im a little bit lost, thx for your help

Nice Post, Do you have the API of library SimpleARToolKit library from Brian Chung?

Could you please send me the API?


Great library! However I’ve noticed that there is a lot more jittering/movement than when I use the single marker SimpleARToolkit. Is there a good way to fix this?



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.