<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>unicap-imaging.org blog - Tips and Tricks</title>
    <link>http://unicap-imaging.org/blog/</link>
    <description></description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3 - http://www.s9y.org/</generator>
    <pubDate>Tue, 24 Jun 2008 14:30:09 GMT</pubDate>

    <image>
        <url>http://unicap-imaging.org/blog/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: unicap-imaging.org blog - Tips and Tricks - </title>
        <link>http://unicap-imaging.org/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Installing unicap on Fedora / RedHat / CentOS</title>
    <link>http://unicap-imaging.org/blog/index.php?/archives/15-Installing-unicap-on-Fedora-RedHat-CentOS.html</link>
            <category>Tips and Tricks</category>
    
    <comments>http://unicap-imaging.org/blog/index.php?/archives/15-Installing-unicap-on-Fedora-RedHat-CentOS.html#comments</comments>
    <wfw:comment>http://unicap-imaging.org/blog/wfwcomment.php?cid=15</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://unicap-imaging.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=15</wfw:commentRss>
    

    <author>nospam@example.com (Arne Caspari)</author>
    <content:encoded>
    On unicap-imaging.org you will find the unicap libaries and the ucview application as source packages from which you can compile and install on almost any Linux distribution. But normally you do not want to compile the library by yourself because if you do, the resulting files will not be under control of the package manager that your distribution usually uses to keep track of the installed software. &lt;br /&gt;
&lt;br /&gt;
unicap-imaging.org therefore also hosts a repository containing the binary packages for the most popular Linux distribution, Ubuntu. Even though there are no packages for other linux distribution hosted on the unicap-imaging.org website itself, packages are often provided for other popular distributions by third party distributors. I will explain how to install and use unicap on some other distributions in a series of blog posts. Today I will start with Fedora 9.&lt;br /&gt;
&lt;br /&gt;
unciap and ucview packages are already available in the default repositories of Fedora thanks to the work of &lt;a href=&quot;http://www.robert-scheck.de/&quot;&gt;Robert Scheck&lt;/a&gt; who builds and maintains the &lt;i&gt;rpm&lt;/i&gt; packages. To install unicap on &lt;i&gt;CentOS&lt;/i&gt; or &lt;i&gt;Red Hat Enterpris Linux 5&lt;/i&gt; you need to use &lt;i&gt;EPEL ( Extra Packages for Enterprise Linux )&lt;/i&gt;. Please follow this link to learn how to set up EPEL: &lt;a href=&quot;http://fedoraproject.org/wiki/EPEL/FAQ#howtouse&quot;&gt;Fedora Wiki&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The most basic case is to install only the libraries and UCView. This can be done by the following command, executed as the &lt;i&gt;root&lt;/i&gt; user: &lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
yum install unicap ucview&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
If you want to compile the examples that come with unicap, you need to install some more packages to be able to compile them: &lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
yum install gcc make gtk2-devel libtheora-devel libvorbis-devel unicap unicap-devel&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Afterwards you should be able to compile and run the basic &lt;i&gt;device-info&lt;/i&gt; example which just prints information about all supported devices. Many other examples require additional dependencies, for instance the OpenCV example needs opencv, obviously. You should be able to locate the required packages with &lt;i&gt;yum search&lt;/i&gt; in most cases ( otherwise, post a comment here ). Please let me know if you face any issue in using unicap on Fedora / RedHat systems. &lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 24 Jun 2008 16:17:12 +0200</pubDate>
    <guid isPermaLink="false">http://unicap-imaging.org/blog/index.php?/archives/15-guid.html</guid>
    
</item>
<item>
    <title>Using the Trigger and Digital IOs of Imaging Source Cameras</title>
    <link>http://unicap-imaging.org/blog/index.php?/archives/14-Using-the-Trigger-and-Digital-IOs-of-Imaging-Source-Cameras.html</link>
            <category>Tips and Tricks</category>
    
    <comments>http://unicap-imaging.org/blog/index.php?/archives/14-Using-the-Trigger-and-Digital-IOs-of-Imaging-Source-Cameras.html#comments</comments>
    <wfw:comment>http://unicap-imaging.org/blog/wfwcomment.php?cid=14</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://unicap-imaging.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    

    <author>nospam@example.com (Arne Caspari)</author>
    <content:encoded>
    Among others, The Imaging Source cameras can be externally triggered and have digital in- and outputs to control external devices. In a series of blog postings on their machine vision blog, The Imaging Source gives some details about the hardware and explains how to build an external trigger circuit: &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.theimagingsourceblog.com/2008/06/03/using-trigger-and-digital-ios-part-2&quot;&gt;Trigger Hardware and Timing&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.theimagingsourceblog.com/2008/06/04/using-trigger-and-digital-ios-part-3&quot;&gt;Pin Header Layout&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.theimagingsourceblog.com/2008/06/05/using-trigger-and-digital-ios-part-4&quot;&gt;Hirose Connector Layout&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Software support for this functionality is present in unicap.  
    </content:encoded>

    <pubDate>Mon, 09 Jun 2008 17:03:16 +0200</pubDate>
    <guid isPermaLink="false">http://unicap-imaging.org/blog/index.php?/archives/14-guid.html</guid>
    
</item>
<item>
    <title>Using UCView with Desktop Effects</title>
    <link>http://unicap-imaging.org/blog/index.php?/archives/5-Using-UCView-with-Desktop-Effects.html</link>
            <category>Tips and Tricks</category>
    
    <comments>http://unicap-imaging.org/blog/index.php?/archives/5-Using-UCView-with-Desktop-Effects.html#comments</comments>
    <wfw:comment>http://unicap-imaging.org/blog/wfwcomment.php?cid=5</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://unicap-imaging.org/blog/rss.php?version=2.0&amp;type=comments&amp;cid=5</wfw:commentRss>
    

    <author>nospam@example.com (Arne Caspari)</author>
    <content:encoded>
    For quite a while now, most modern Linux distributions come with a feature called &lt;i&gt;Desktop Effects&lt;/i&gt;. When Desktop Effects are enabled, the processor of the graphics card is used to enhance the visual appearance of the desktop, for example by letting windows drop shadows or by giving windows semi-transparent borders. &lt;br /&gt;
&lt;br /&gt;
If you are using UCView and enabled the desktop effects on your computer, you may encounter strange effects. Depending on your graphics hardware and on the colour format used by the camera, you may see different distortions, like a blue area where windows should drop a shadow or the video image overlaying everything that is placed over it. For example in this picture you see the video image getting placed in front of the &lt;i&gt;About&lt;/i&gt; window, obscuring a part of it:&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:1 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;500&quot; height=&quot;302&quot; style=&quot;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://unicap-imaging.org/blog/uploads/Screenshot-ucview-xv-compiz.jpg&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
The reason for this behaviour is that UCView uses the &lt;i&gt;XVideo&lt;/i&gt; extension to accelerate the video output. Unfortunately, this extension is not very well supported by the &lt;i&gt;compositing&lt;/i&gt; feature which is used for the desktop effects. &lt;br /&gt;
&lt;br /&gt;
The use of XVideo is also the reason you can not make screenshots of an UCView window showing video on some systems. You will only see a blue image where the video belongs if you are looking at the screenshots afterwards. &lt;br /&gt;
&lt;br /&gt;
There is a way to get around these issues by disabling the use of the XVideo extension. You can do that with the following command ( enter it in a terminal window ):&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
gconftool-2 --set --type boolean /apps/ucview/disable_xv true&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
On the next start of UCView, the video window should behave as expected: &lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:2 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;500&quot; height=&quot;302&quot; style=&quot;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://unicap-imaging.org/blog/uploads/Screenshot-ucview-noxv-compiz.jpg&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
There are other interesting uses of the GConf settings which I will discuss in one of the next blog posts. &lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 22 Apr 2008 15:30:00 +0200</pubDate>
    <guid isPermaLink="false">http://unicap-imaging.org/blog/index.php?/archives/5-guid.html</guid>
    
</item>

</channel>
</rss>