You need to flip the image before ARToolkit processes the camera image. Try scheduling the
FlipHorizontal function with a lower update priority using the following code, instead of using
vizact.ontimer:
Code:
vizact.onupate(viz.PRIORITY_PLUGINS,FlipHorizontal,cam,tex)