SmartSurface CCV Tracking engine

SmartSurface CCV Tracking engine

Postby ForumAdmin » Wed Dec 09, 2009 3:48 am

Hello All;
SmartSurface released SmartSurface CCV tracker engine based on NUIGroup's CCV. This version supports 4 cameras, cropping of inline borders for alignment and mouse clicks.
It is released under GPL so you will get the source code as well.
Register and login to be able to download the attached file, find it down


Image

If you want to use one camera, replace the content of the data/config.xml file with:

Code: Select all
<?xml version="1.0" ?>
<CONFIG>
    <!--/////////////////////////////////////////

        YOU CAN MANUALLY EDIT THE FEATURES BELOW

    ///////////////////////////////////////////// -->
    <!--// CAMERA SETTINGS // -->
    <CAMERA_0>
        <USECAMERA>1</USECAMERA>
        <DEVICE>0</DEVICE>
        <WIDTH>320</WIDTH>
        <HEIGHT>240</HEIGHT>
        <FRAMERATE>30</FRAMERATE>
    </CAMERA_0>
    <!--// NETWORK COMMUNICATION SETTINGS //-->
    <NETWORK>
        <LOCALHOST>127.0.0.1</LOCALHOST>
        <TUIO>0</TUIO>
        <TUIOPORT_OUT>3333</TUIOPORT_OUT>
        <TUIOFLASHPORT_OUT>3000</TUIOFLASHPORT_OUT>
    </NETWORK>
    <!--// VIDEO SETTINGS // -->
    <VIDEO>
        <FILENAME>test_videos/RearDI.m4v</FILENAME>
    </VIDEO>
    <!--// BLOB SETTINGS // -->
    <BLOBS>
        <MAXNUMBER>20</MAXNUMBER>
    </BLOBS>
    <!--/////////////////////////////////////////

        DO NOT EDIT THE VALUES BELOW

    ///////////////////////////////////////////// -->
    <APPLICATION>
        <TITLE>Community Core Visision</TITLE>
        <VERSION>1.2.0</VERSION>
    </APPLICATION>
    <WINDOW>
        <WIDTH>1150</WIDTH>
        <HEIGHT>600</HEIGHT>
    </WINDOW>
    <BOOLEAN>
        <PRESSURE>0</PRESSURE>
        <LABELS>1</LABELS>
        <OUTLINES>0</OUTLINES>
        <LEARNBG>0</LEARNBG>
        <TUIO>1</TUIO>
        <VMIRROR>0</VMIRROR>
        <HMIRROR>0</HMIRROR>
        <HIGHPASS>1</HIGHPASS>
        <AMPLIFY>1</AMPLIFY>
        <SMOOTH>1</SMOOTH>
        <GPU>0</GPU>
        <DYNAMICBG>0</DYNAMICBG>
        <SNAPSHOT>0</SNAPSHOT>
        <MINIMODE>0</MINIMODE>
        <HEIGHTWIDTH>0</HEIGHTWIDTH>
        <OSCMODE>1</OSCMODE>
        <TCPMODE>0</TCPMODE>
        <TRACKDARK>0</TRACKDARK>
        <PRINTFTOFILE>0</PRINTFTOFILE>
        <FOURCAM>0</FOURCAM>
        <MouseMode>0</MouseMode>
    </BOOLEAN>
    <INT>
        <MINMOVEMENT>1</MINMOVEMENT>
        <MINBLOBSIZE>1</MINBLOBSIZE>
        <MAXBLOBSIZE>129</MAXBLOBSIZE>
        <BGLEARNRATE>277.718201</BGLEARNRATE>
        <THRESHOLD>180</THRESHOLD>
        <HIGHPASSBLUR>5</HIGHPASSBLUR>
        <HIGHPASSNOISE>1</HIGHPASSNOISE>
        <HIGHPASSAMP>70</HIGHPASSAMP>
        <SMOOTH>1</SMOOTH>
        <MAXCLICKAGE>0.768750</MAXCLICKAGE>
    </INT>
</CONFIG>


for using with four camera use the following:

Code: Select all
<?xml version="1.0" ?>
<CONFIG>
    <!--/////////////////////////////////////////

        YOU CAN MANUALLY EDIT THE FEATURES BELOW

    ///////////////////////////////////////////// -->
    <!--// CAMERA SETTINGS // -->
    <CAMERA_0>
        <USECAMERA>1</USECAMERA>
        <DEVICE>0</DEVICE>
        <WIDTH>640</WIDTH>
        <HEIGHT>480</HEIGHT>
        <FRAMERATE>30</FRAMERATE>
    </CAMERA_0>
    <!--// NETWORK COMMUNICATION SETTINGS //-->
    <NETWORK>
        <LOCALHOST>127.0.0.1</LOCALHOST>
        <TUIO>0</TUIO>
        <TUIOPORT_OUT>3333</TUIOPORT_OUT>
        <TUIOFLASHPORT_OUT>3000</TUIOFLASHPORT_OUT>
    </NETWORK>
    <!--// VIDEO SETTINGS // -->
    <VIDEO>
        <FILENAME>test_videos/RearDI.m4v</FILENAME>
    </VIDEO>
    <!--// BLOB SETTINGS // -->
    <BLOBS>
        <MAXNUMBER>20</MAXNUMBER>
    </BLOBS>
    <!--/////////////////////////////////////////

        DO NOT EDIT THE VALUES BELOW

    ///////////////////////////////////////////// -->
    <APPLICATION>
        <TITLE>Community Core Visision</TITLE>
        <VERSION>1.2.0</VERSION>
    </APPLICATION>
    <WINDOW>
        <WIDTH>1150</WIDTH>
        <HEIGHT>600</HEIGHT>
    </WINDOW>
    <BOOLEAN>
        <PRESSURE>0</PRESSURE>
        <LABELS>1</LABELS>
        <OUTLINES>0</OUTLINES>
        <LEARNBG>0</LEARNBG>
        <TUIO>1</TUIO>
        <VMIRROR>0</VMIRROR>
        <HMIRROR>0</HMIRROR>
        <HIGHPASS>1</HIGHPASS>
        <AMPLIFY>1</AMPLIFY>
        <SMOOTH>1</SMOOTH>
        <GPU>0</GPU>
        <DYNAMICBG>0</DYNAMICBG>
        <SNAPSHOT>0</SNAPSHOT>
        <MINIMODE>0</MINIMODE>
        <HEIGHTWIDTH>0</HEIGHTWIDTH>
        <OSCMODE>1</OSCMODE>
        <TCPMODE>0</TCPMODE>
        <TRACKDARK>0</TRACKDARK>
        <PRINTFTOFILE>0</PRINTFTOFILE>
        <FOURCAM>1</FOURCAM>
        <MouseMode>0</MouseMode>
    </BOOLEAN>
    <INT>
        <MINMOVEMENT>1</MINMOVEMENT>
        <MINBLOBSIZE>1</MINBLOBSIZE>
        <MAXBLOBSIZE>129</MAXBLOBSIZE>
        <BGLEARNRATE>277.718201</BGLEARNRATE>
        <THRESHOLD>180</THRESHOLD>
        <HIGHPASSBLUR>5</HIGHPASSBLUR>
        <HIGHPASSNOISE>1</HIGHPASSNOISE>
        <HIGHPASSAMP>70</HIGHPASSAMP>
        <SMOOTH>1</SMOOTH>
        <MAXCLICKAGE>0.768750</MAXCLICKAGE>
    </INT>
</CONFIG>



the lines changed is as following

Change From:
<WIDTH>640</WIDTH>
<HEIGHT>480</HEIGHT>

To:
<WIDTH>320</WIDTH>
<HEIGHT>240</HEIGHT>

AND

From:
<FOURCAM>1</FOURCAM>

To:
<FOURCAM>0</FOURCAM>

Use the Crop sliders to align the four cameras. Sometimes it is extremely difficult to align four cameras physically. No matter how hard you try, there always seems to be overlapping. The crop sliders are there to solve that.

They crop from the inner sides and deletes the cropped part and adds black border to the outer edges. that way, even if there are physical overlaps, you can ignore it by cropping it.

the only drawback is that you still have to make sure that the cameras are in a straight line. Perhaps in the next release we'll enable rotation.
SmartSurfaceCCVTracker.exe
You do not have the required permissions to view the files attached to this post.
ForumAdmin
Site Admin
 
Posts: 6
Joined: Sat Oct 17, 2009 3:41 pm

Re: SmartSurface CCV Tracking engine

Postby Faysal » Wed Jan 06, 2010 10:54 am

Hi guys,

Just to let you know, the mouse click will work even if you have multiple clicks/touches. It will dispatch multiple mouse clicks with multiple touches. It's best to keep the clicking time as low as possible to prevent unnecessary mouse clicks.

The main use of the mouse clicks is to void the use of keyboard/mouse for windows. I suggest that you set your desktop to web mode to enable single click for opening files. Although we will be releasing the MT-File Browser and Internet browser with RRD (Rotation/ Resize / Drag) capabilities, we are having some issues with the handwriting recognition part (for entering the URL).

Please help us improve with constructive comments and suggestions.

Thanks
Faysal
 
Posts: 2
Joined: Thu Dec 03, 2009 7:43 am


Return to Download Center

cron