1 of 4
1
Touchlib config for Firefly MV
Posted: 16 December 2007 04:52 PM   [ Ignore ]
New Member
Rank
Total Posts:  94
Joined  2007-08-01

Can some please post a working config file for use with a PTG Firefly MV camera.

I am using this

<vwcapture label="capture1">
        <
videostring value="pgr: 0 640 60 grey16 1 rgb" />
    </
vwcapture>

This gives me errors.

 Signature 

Brett Forsyth
Blog: http://blog.thestem.ca
My Mult-touch build: http://ddblog.vfs.com/category/multi-touch/
Where I teach: http://vfs.com/fulltime.php?id=13

Profile
 
 
Posted: 17 December 2007 03:25 PM   [ Ignore ]   [ # 1 ]
New Member
Rank
Total Posts:  21
Joined  2007-10-11

the firefly mv can only get 30fps with grey16, and i cant decide if it runs better with scaling enabled or disabled.
this should work, replace your capture settings with this in config.xml:

<vwcapture label="capture1">
    <
videostring value="pgr: 0 640 60 grey8 0 rgb" />
</
vwcapture>

quick description of the videostring values:

<videostring value="[DRIVER]: [device number] [resolution width] [frame rate] [color format] [scale] [output format]" />

if you want a deeper description of videostring check out the nuigroup wiki.

Profile
 
 
Posted: 17 December 2007 03:29 PM   [ Ignore ]   [ # 2 ]
New Member
Rank
Total Posts:  94
Joined  2007-08-01

Thanks. I just realized i messed up the code in the first post. I will give that a shot.

 Signature 

Brett Forsyth
Blog: http://blog.thestem.ca
My Mult-touch build: http://ddblog.vfs.com/category/multi-touch/
Where I teach: http://vfs.com/fulltime.php?id=13

Profile
 
 
Posted: 18 December 2007 06:15 PM   [ Ignore ]   [ # 3 ]
New Member
Rank
Total Posts:  94
Joined  2007-08-01

Nope still not working

I get this as the error message

Connection to video device failed.
VIDEO_openVideo failed.
Unspecified error. Invalid rate, size and type combination for current camera in config ‘0 640 60 grey8 0 rgb’
VIDEO_openVideo failed.
Unspecified error.

 Signature 

Brett Forsyth
Blog: http://blog.thestem.ca
My Mult-touch build: http://ddblog.vfs.com/category/multi-touch/
Where I teach: http://vfs.com/fulltime.php?id=13

Profile
 
 
Posted: 18 December 2007 06:29 PM   [ Ignore ]   [ # 4 ]
Administrator
RankRank
Total Posts:  114
Joined  2006-11-09

try

pgr: 0 640 30 grey8 1 rgb

Profile
 
 
Posted: 18 December 2007 06:37 PM   [ Ignore ]   [ # 5 ]
New Member
Rank
Total Posts:  94
Joined  2007-08-01

same error. Ok lets go a step further. I am on a macbook pro running bootcamp. I has a built in iSight which might be causing problems I have tried to change the camera number but that doesn’t seem to do anything. Thoughts?

 Signature 

Brett Forsyth
Blog: http://blog.thestem.ca
My Mult-touch build: http://ddblog.vfs.com/category/multi-touch/
Where I teach: http://vfs.com/fulltime.php?id=13

Profile
 
 
Posted: 18 December 2007 09:05 PM   [ Ignore ]   [ # 6 ]
Administrator
RankRank
Total Posts:  114
Joined  2006-11-09

you’re running under windows right? Does the pointgrey capture app work ok? What settings does it report when you launch it?

Profile
 
 
Posted: 19 December 2007 12:36 AM   [ Ignore ]   [ # 7 ]
New Member
Rank
Total Posts:  94
Joined  2007-08-01

I have found the solution. I reinstalled the pt.grey drivers and properly installed the windows hotfix. It is outlined in the pt.grey knowledge base article #171. I am guessing I messed it up the first time. Anyway it works now. The thing that threw me off was that the pt.grey software worked fine but touchlib wouldn’t pick up on the camera. Now that things are installed properly it all seems to work great. Thanks WhiteNoiz and WillFM for you help, much appreciated.

 Signature 

Brett Forsyth
Blog: http://blog.thestem.ca
My Mult-touch build: http://ddblog.vfs.com/category/multi-touch/
Where I teach: http://vfs.com/fulltime.php?id=13

Profile
 
 
Posted: 19 December 2007 07:37 AM   [ Ignore ]   [ # 8 ]
Administrator
RankRank
Total Posts:  114
Joined  2006-11-09

np Brett, I think other people have had the same issue

Profile
 
 
Posted: 20 December 2007 03:26 PM   [ Ignore ]   [ # 9 ]
New Member
Rank
Total Posts:  2
Joined  2007-12-20

Hello,

I have the same problem… but i haven’t found any solutions…
My actual configuration file (config.xml) is:

<?xml version="1.0" ?>
<screen scale="1.000000">


<
point X="0.000000" Y="240.000000"/>    
<
point X="80.000000" Y="240.000000"/>    
<
point X="160.000000" Y="240.000000"/>   
<
point X="240.000000" Y="240.000000"/>   
<
point X="320.000000" Y="240.000000"/>  
<
point X="0.000000" Y="160.000000"/>    
<
point X="80.000000" Y="160.000000"/>
<
point X="160.000000" Y="160.000000"/>    
<
point X="240.000000" Y="160.000000"/>  
<
point X="320.000000" Y="160.000000"/>   
<
point X="0.000000" Y="80.000000"/>  
<
point X="80.000000" Y="80.000000"/>  
<
point X="160.000000" Y="80.000000"/> 
<
point X="240.000000" Y="80.000000"/> 
<
point X="320.000000" Y="80.000000"/>  
<
point X="0.000000" Y="0.000000"/>
<
point X="80.000000" Y="0.000000"/>  
<
point X="160.000000" Y="0.000000"/>
<
point X="240.000000" Y="0.000000"/>
<
point X="320.000000" Y="0.000000"/>




</
screen>
<
filtergraph>
<
vwcapture label="capture1">
    <
videostring value="pgr: 0 640 30 grey8 0 rgb" />
</
vwcapture>
    <
mono label="mono2" />
    <
smooth label="smooth3" />
    <
backgroundremove label="background4">
        <
threshold value="0" />
    </
backgroundremove>
    <
brightnesscontrast label="bc5">
        <
brightness value="-0.215686" />
        <
contrast value="0.568627" />
    </
brightnesscontrast>
    <
rectify label="rectify6">
        <
level value="0" />
    </
rectify>
</
filtergraph>

And is impossible to view any images....

I have this error message in the batch windows :

Couldn't find desired mode.
Trying mode that is twice as big (640x480).
Couldn'
t find desired 2x mode.
VIDEO_openVideo failed.
Unspecified error.VWTest'pgr' library failed to load
VWTest
'pgr' library isnt loaded.
VIDEO_openVideo failed.
The requested library is not loaded.

Anybody can help me ?
Thanks

Profile
 
 
Posted: 20 December 2007 03:37 PM   [ Ignore ]   [ # 10 ]
New Member
Rank
Total Posts:  94
Joined  2007-08-01

I just have to check because this is where i messed up but have you installed the drivers?
What operating system are you running?
Did you apply the hotfix?

 Signature 

Brett Forsyth
Blog: http://blog.thestem.ca
My Mult-touch build: http://ddblog.vfs.com/category/multi-touch/
Where I teach: http://vfs.com/fulltime.php?id=13

Profile
 
 
Posted: 20 December 2007 04:18 PM   [ Ignore ]   [ # 11 ]
New Member
Rank
Total Posts:  2
Joined  2007-12-20

OS : WINDOWS XP SP2
No i didn’t apply the hotfix....

Is it the thing that I have to revert to SP1??

Thanks

Profile
 
 
Posted: 20 December 2007 04:19 PM   [ Ignore ]   [ # 12 ]
New Member
Rank
Total Posts:  94
Joined  2007-08-01

yup. If you look up in the posts you will see the knowledge base article number this will have a link to the MS site that will allow you to download and apply it.

 Signature 

Brett Forsyth
Blog: http://blog.thestem.ca
My Mult-touch build: http://ddblog.vfs.com/category/multi-touch/
Where I teach: http://vfs.com/fulltime.php?id=13

Profile
 
 
Posted: 21 December 2007 12:04 PM   [ Ignore ]   [ # 13 ]
Jr. Member
Avatar
RankRank
Total Posts:  194
Joined  2007-05-05

any idea how to get firefly working with osx?
I had the idea that firewire cams generally work with osx, but this one doesn´t.
I tried to the ioXperts driver but i can´t get the cam working with anything (iChat, reactivision).
The Camera Idetifiers find the cam, but i donßt get an image in reactivision.
Any ideas?

thanks

 Signature 

Blog: http://iad.projects.zhdk.ch/multitouch/
180 Project: http://www.timroth.de/180/

Profile
 
 
Posted: 21 December 2007 12:08 PM   [ Ignore ]   [ # 14 ]
New Member
Rank
Total Posts:  94
Joined  2007-08-01

thats weird because in leopard i got the camera working with flash out of the box. iChat didn’t pick it up but thats not surprising. What kind of mac are you using? I am assuming its something with a built in iSight? If so what you really need to do is find a way of selecting the camera source.

 Signature 

Brett Forsyth
Blog: http://blog.thestem.ca
My Mult-touch build: http://ddblog.vfs.com/category/multi-touch/
Where I teach: http://vfs.com/fulltime.php?id=13

Profile
 
 
Posted: 21 December 2007 12:29 PM   [ Ignore ]   [ # 15 ]
Jr. Member
Avatar
RankRank
Total Posts:  194
Joined  2007-05-05

hi brettf,

i am using a macbook pro, 17inch, with leopard. But I also tried a mac mini and a macpro (both tiger).
Same situation on all machines...no matter if a camera is installed or not. I mean I do “See” a camera,
which is listed in the devices. When I try to use it with iChat, i gives the “Camera is already in use”, and rectivision does
not display a camera feed at the beginning. After selecting the camera, the reactivision window gives the “no camera...”
error..

mmh, funny that i just worked for you..

 Signature 

Blog: http://iad.projects.zhdk.ch/multitouch/
180 Project: http://www.timroth.de/180/

Profile
 
 
   
1 of 4
1