ARToolKit | Mailing List Archive |
![]() |
From: | =?iso-8859-1?q?M=FFfffffffffffffffffffffff3nica=20Rubio=20Rojas?= <monicarr_cu@y .......> | Received: | Dec 29, 2004 |
To | Philip Lamb <phil@e ..........>, artoolkit@h .................. | ||
Subject: | TwoView example | ||
Thanks Hedrich, thanks Phil. The TwoView example compiled ok. But, when I run the program, after setting the properties of the two cameras, appears an error window with the message "No combination of intermediate filters could be found to make the connection". At the console window appear the warning: demoARSetupCamera(): Unable to open connection to camera 2 main(): Unable to setup 2 AR cameras Quitting..... This message appears even when just one camera is connected. I have run the program in several PCs with the same results. Does anybody know why this happens? Thanks in advance and best regards. Mónica --- Philip Lamb <phil@e ..........> escribió: > At 10:28 AM -0600 22/12/04, Mÿfffffffffffffffffffffff3nica Rubio Rojas wrote: > >Hi all. > > > >I need to used the ARToolkit with two cameras. But the example "twoView" in > >the version 2.70 requires the libARgsub_lited.lib file. Can anybody tell me > >where could I find it? > > > >Best regards. > > > >Mónica. > > libARgsub_lited.lib is just the debug version of the gsub_lite > library, which is part of ARToolKit 2.70. I'm assuming you're on > Windows.. just make sure that you have built the libARgsub_lite > project before you build twoView. > > Regards, > Phil. > _________________________________________________________ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com |
From: | Philip Lamb <phil@e ..........> | Received: | Dec 30, 2004 |
To | =?iso-8859-1?Q?M=FFfffffffffffffffffffffff3nica?= Rubio Rojas <monicarr_cu@y .......>, artoolkit@h .................. | ||
Subject: | Re: TwoView example | ||
At 10:35 AM -0600 29/12/04, Mÿfffffffffffffffffffffff3nica Rubio Rojas wrote: >Thanks Hedrich, thanks Phil. > >The TwoView example compiled ok. But, when I run the program, after >setting the >properties of the two cameras, appears an error window with the message "No >combination of intermediate filters could be found to make the connection". At >the console window appear the warning: > >demoARSetupCamera(): Unable to open connection to camera 2 >main(): Unable to setup 2 AR cameras >Quitting..... > >This message appears even when just one camera is connected. I have run the >program in several PCs with the same results. Does anybody know why this >happens? > >Thanks in advance and best regards. > >Mónica > Ahh.. this is probably because you haven't edited the "vconfs" parameter array to match your setup (twoView.c line 546). You will need to specify two different camera setups in this array. The easiest way to specify the cameras is to add the "friendlyName=some_camera_name_here" parameter. See http://www.ims.tuwien.ac.at/~thomas/dsvideolib_doc.php or the help text in lib/SRC/VideoWin32DirectShow/videoWin32DirectShow.cpp line 136 onwards for the parameters you can use. Regards Phil. |
From: | Monica Rubio Rojas <monicarr_cu@y .......> | Received: | Jan 10, 2005 |
To | Philip Lamb <phil@e ..........>, artoolkit@h .................. | ||
Subject: | TwoView example | ||
> Ahh.. this is probably because you haven't edited the "vconfs" > parameter array to match your setup (twoView.c line 546). You will > need to specify two different camera setups in this array. The > easiest way to specify the cameras is to add the > "friendlyName=some_camera_name_here" parameter. See > http://www.ims.tuwien.ac.at/~thomas/dsvideolib_doc.php or the help > text in lib/SRC/VideoWin32DirectShow/videoWin32DirectShow.cpp line > 136 onwards for the parameters you can use. > > Regards > Phil. > Actually I'm using two cameras of the same type: Philips ToUcam Pro II PCVC840k. But, even doing the change you mentioned above, I still have the same problem. I've tried to use the two cameras without the ARToolkit, i.e., just using a simple windows software which is provided in the camera installer CD. The first camera shows the video ok, but the second one can not show the video. Windows message refiered that the bandwidth is not enough. This problem also arised when using ports USB 2.0. Could this problem be the cause of the error with the ARToolkit? If so, I could try to install an additional card for the second USB port. Phil, I´m sorry for bothering you. Thanks for all your help and best regards. Mónica _________________________________________________________ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com |
From: | Philip Lamb <phil@e ..........> | Received: | Jan 12, 2005 |
To | Monica Rubio Rojas <monicarr_cu@y .......>, artoolkit@h .................. | ||
Subject: | Re: TwoView example | ||
At 10:02 AM -0600 10/1/05, Monica Rubio Rojas wrote: > >> Ahh.. this is probably because you haven't edited the "vconfs" >> parameter array to match your setup (twoView.c line 546). You will >> need to specify two different camera setups in this array. The >> easiest way to specify the cameras is to add the >> "friendlyName=some_camera_name_here" parameter. See >> http://www.ims.tuwien.ac.at/~thomas/dsvideolib_doc.php or the help >> text in lib/SRC/VideoWin32DirectShow/videoWin32DirectShow.cpp line >> 136 onwards for the parameters you can use. >> >> Regards >> Phil. >> > >Actually I'm using two cameras of the same type: Philips ToUcam Pro II >PCVC840k. But, even doing the change you mentioned above, I still >have the same >problem. > >I've tried to use the two cameras without the ARToolkit, i.e., just using a >simple windows software which is provided in the camera installer >CD. The first >camera shows the video ok, but the second one can not show the video. Windows >message refiered that the bandwidth is not enough. This problem also arised >when using ports USB 2.0. Could this problem be the cause of the >error with the >ARToolkit? If so, I could try to install an additional card for the second USB >port. > >Phil, I´m sorry for bothering you. Thanks for all your help and best regards. > >Mónica > I haven't got this type of camera to test with, but I wonder if perhaps the Philips webcam driver has trouble supporting two of the same type of camera on the same USB bus... My first suggestion would be to try using two different types of cameras and see if you can get the example working with that. My second suggestion would be to make sure that you are using the correct configuration string: char *vconfs[] = { // Camera configuration. #if defined(_WIN32) "showDlg,flipV,deviceName=insert device 1 name here", "showDlg,flipV,deviceName=insert device 2 name here", you will need to replace the text "insert device 1 name here" with the video capture source name. You get this by running the program "Graph edit" (part of the DirectX SDK install), then using the "Insert filter" menu command, and finally looking at the entries for "Video capture sources", and copying the part of the display name as per this graphic http://www.ims.tuwien.ac.at/~thomas/images/friendly_name_graphedt.gif Its complicated, I know, but until someone contributes some code to allow the user to select from the available devices, thats how it has to be. :-( Regards, Phil. |
From: | Monica Rubio Rojas <monicarr_cu@y .......> | Received: | Jan 31, 2005 |
To | Philip Lamb <phil@e ..........>, artoolkit@h .................. | ||
Subject: | Re: TwoView example | ||
> > I haven't got this type of camera to test with, but I wonder if > perhaps the Philips webcam driver has trouble supporting two of the > same type of camera on the same USB bus... > > My first suggestion would be to try using two different types of > cameras and see if you can get the example working with that. > > My second suggestion would be to make sure that you are using the > correct configuration string: > > char *vconfs[] = { // Camera configuration. > #if defined(_WIN32) > "showDlg,flipV,deviceName=insert device 1 name here", > "showDlg,flipV,deviceName=insert device 2 name here", > > you will need to replace the text "insert device 1 name here" with > the video capture source name. You get this by running the program > "Graph edit" (part of the DirectX SDK install), then using the > "Insert filter" menu command, and finally looking at the entries for > "Video capture sources", and copying the part of the display name as > per this graphic > > http://www.ims.tuwien.ac.at/~thomas/images/friendly_name_graphedt.gif > > Its complicated, I know, but until someone contributes some code to > allow the user to select from the available devices, thats how it has > to be. :-( > > Regards, > Phil. > Hi all... Phil, I'm sorry about the delay. The TwoView example is running ok with your suggestions (two different types of cameras and configurations). Thank for all. Just one detail. In the ARToolkit, the images from two cameras are not sharp, but, without ARToolkit, just using a simple Windows software, the visualization is ok. Thank Phil for all. Best regards. Mónica _________________________________________________________ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com |