ARToolKit | Mailing List Archive |
![]() |
From: | "Emmanuel Dubois (IRIT)" <Emmanuel.Dubois@i ......> | Received: | Jul 8, 2003 |
To | artoolkit@h .................. | ||
Subject: | Pb when re-starting the camera grabbing | ||
Hello, I am trying to enable the user of my application (based on AR toolkit) to start the AR toolkit, stop it and restart it ... but it failed. When Starting the AR toolkit, I just execute the following instructions : arVideoOpen arVideoInqSize arParamLoad arParamChangeSize arInitCparam arParamDisp argInit arVideoCapStart when stopping it, I just call arVideoCapStop(); arVideoClose(); and when I want to start it again, I call the same methods arVideoOpen arVideoInqSize arParamLoad arParamChangeSize arInitCparam arParamDisp argInit arVideoCapStart but it failed on the first one : arVideoOpen. Any explanation would be welcome. Thanks. E.D. Emmanuel DUBOIS ! Emmanuel.Dubois@i ...... UPS - IRIT - LIIHS ! www.irit.fr/recherches/LIIHS/dubois 118, route de Narbonne ! Phone: +33 (0)5 61 55 63 59 F - 31 062 Toulouse Cedex 4 ! Fax: +33 (0)5 61 55 62 58 |
From: | Mark Billinghurst <grof@h ..................> | Received: | Jul 15, 2003 |
To | artoolkit@h .................. | ||
Subject: | Re: Pb when re-starting the camera grabbing | ||
From: Hirokazu Kato <kato@s ...................> Subject: Re: Pb when re-starting the camera grabbing Cc: artoolkit@h .................. Content-Type: text/plain; charset="us-ascii" Hi, >when stopping it, I just call > arVideoCapStop(); > arVideoClose(); You may not call arVideoClose() when you will restart later. Just call arVideoCapStop() only. >and when I want to start it again, I call the same methods >arVideoOpen >arVideoInqSize >arParamLoad >arParamChangeSize >arInitCparam >arParamDisp >argInit >arVideoCapStart You do not need to call arVideoOpen(). -- ------------------------------------------------------------------ Hirokazu Kato Graduate School of Engineering Science Osaka University Phone: +81-6-6850-6381 Email: kato@s ................... Fax: +81-6-6850-6341 URL: http://www.sys.im.hiroshima-cu.ac.jp/people/kato/ |