Subscribe:

Ads 468x60px

Saturday, August 11, 2012

ARToolkit for Ubuntu 12.04 32 bit

Hi all 

       I am giving  tips to run ARToolkit on Ubuntu 12.04. I got reference from the following link


Procedure

1)Download ARToolkit 2.7 for linux and patch

Note: Extract Artoolkit and patch to  home folder .

2)Install patch

Note:While patching confirm  the patch file is outside Artoolkit folder.



 patch -p0 -d . < artk-v4l2-2.72.1.20101003.patch 

3)Do ./Configure

1st select V4L2 3rd option
2nd  select y (X86)
3rd select n
4th select n

4)Do make command

5)take bin folder and take ./simpleLite application





Video
-------
How to set artoolkit on Ubuntu 12.04

8 comments:

Çetin Meriçli said...

Hi,

There are a few errors such as there is no lib/SRC/VideoLinuxV4L2/Makefile.in AR/sys/videoLinuxV4L2.h files in the repository

Cheers,
Cetin

Lentin Joseph said...

Hi Cetin

Did you tried the patch. I made this using the following link and its working good

http://www.kameda-lab.org/_local/imagelab.tsukuba.ac.jp/ubuntu1004+opencv21/ARToolKitk/index-e.html

zulfindra juliant said...

bad tutor so much.. :(

Lentin Joseph said...

@zulfindra , i have updated the tutorial, sorry for the mistakes

Sampath Tandra said...

am getting below problem when i am trying to do make

make[2]: *** [../../libARvideo.a(ccvt_i386.o)] Error 1
make[2]: Leaving directory `/home/mlearn/ARToolKit/lib/SRC/VideoLinuxV4L2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mlearn/ARToolKit/lib/SRC'
make: *** [all] Error 2


will u please sort my problem

Lentin Joseph said...

Hi Sampath

Are you using 64 bit os ?

Can you sent the screenshot of the steps you did for configuring artoolkit. ?My mail id is lentin007@gmail.com

Sampath Tandra said...

Hi Lentin,
As am trying to run ./simpleLite am getting following error will u please help

Using config string from environment [v4l2src device=/dev/video0 use-fixed-fps=false ! ffmpegcolorspace ! capsfilter caps=video/x-raw-rgb,bpp=24 ! identity name=artoolkit ! fakesink].
ARVideo may be configured using one or more of the following options,
separated by a space:

DEVICE CONTROLS:
-dev=filepath
specifies device file.
-channel=N
specifies source channel.
-width=N
specifies expected width of image.
-height=N
specifies expected height of image.
-palette=[RGB|YUV420P]
specifies the camera palette (WARNING:all are not supported on each camera !!).
IMAGE CONTROLS (WARNING: every options are not supported by all camera !!):
-brightness=N
specifies brightness. (0.0 <-> 1.0)
-contrast=N
specifies contrast. (0.0 <-> 1.0)
-saturation=N
specifies saturation (color). (0.0 <-> 1.0) (for color camera only)
-hue=N
specifies hue. (0.0 <-> 1.0) (for color camera only)
OPTION CONTROLS:
-mode=[PAL|NTSC|SECAM]
specifies TV signal mode (for tv/capture card).

setupCamera(): Unable to open connection to camera.
main(): Unable to set up AR camera.

Sampath Tandra said...

Hi Lentin,
Any help for the above post

Post a Comment