<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Diemension9</title>
	<atom:link href="http://www.dm9.se/?feed=rss2&#038;p=217" rel="self" type="application/rss+xml" />
	<link>http://www.dm9.se</link>
	<description>intermittently updated coding related babel..</description>
	<lastBuildDate>Fri, 03 May 2013 00:55:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>[mac, libuvcc] At least the lib is getting there</title>
		<link>http://www.dm9.se/?p=849</link>
		<comments>http://www.dm9.se/?p=849#comments</comments>
		<pubDate>Sun, 17 Mar 2013 00:50:48 +0000</pubDate>
		<dc:creator>sluggo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[libuvcc]]></category>
		<category><![CDATA[uvc-ctrl]]></category>
		<category><![CDATA[uvcc]]></category>

		<guid isPermaLink="false">http://www.dm9.se/?p=849</guid>
		<description><![CDATA[Havent had time to test it enough (read at all) for even an alpha-release yet but to give a hint of what&#8217;s in it i&#8217;ve uploaded the current documentation to libuvcc.dm9.se. I&#8217;m also writing an obj-c (cocoa) wrapper for the whole thing but that one is not documented yet. // sluggo]]></description>
				<content:encoded><![CDATA[<p>Havent had time to test it enough (read at all) for even an alpha-release yet but to give a hint of what&#8217;s in it i&#8217;ve uploaded the current documentation to <a href="http://libuvcc.dm9.se" title="libuvcc documentation">libuvcc.dm9.se</a>.<br />
I&#8217;m also writing an obj-c (cocoa) wrapper for the whole thing but that one is not documented yet.</p>
<p>// sluggo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dm9.se/?feed=rss2&#038;p=849</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>d/l-links fixed</title>
		<link>http://www.dm9.se/?p=845</link>
		<comments>http://www.dm9.se/?p=845#comments</comments>
		<pubDate>Mon, 11 Mar 2013 21:42:42 +0000</pubDate>
		<dc:creator>sluggo</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.dm9.se/?p=845</guid>
		<description><![CDATA[the download links are fixed, sorry about that. // sluggo]]></description>
				<content:encoded><![CDATA[<p>the download links are fixed, sorry about that.</p>
<p>// sluggo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dm9.se/?feed=rss2&#038;p=845</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[music] Friday prophets &#8211; Amsterdam</title>
		<link>http://www.dm9.se/?p=836</link>
		<comments>http://www.dm9.se/?p=836#comments</comments>
		<pubDate>Sun, 16 Dec 2012 16:44:46 +0000</pubDate>
		<dc:creator>sluggo</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.dm9.se/?p=836</guid>
		<description><![CDATA[This the new demo from a friends band, The Friday Prophets. Listen it to it, it&#8217;s awesome. the friday prophets @ soundcloud // sluggo]]></description>
				<content:encoded><![CDATA[<p>This the new demo from a friends band, The Friday Prophets. Listen it to it, it&#8217;s awesome.</p>
<p><iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F71264760"></iframe><br />
<a href="https://soundcloud.com/the-friday-prophets" target="_blank" title="the friday prophets at soundcloud">the friday prophets @ soundcloud</a></p>
<p>// sluggo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dm9.se/?feed=rss2&#038;p=836</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[mac, Xcode] Xcode 4.2 update, crash on opening project</title>
		<link>http://www.dm9.se/?p=816</link>
		<comments>http://www.dm9.se/?p=816#comments</comments>
		<pubDate>Sun, 30 Sep 2012 01:07:45 +0000</pubDate>
		<dc:creator>sluggo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tiny Gems]]></category>
		<category><![CDATA[beer]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[dvtkit]]></category>
		<category><![CDATA[iTerm]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[plist]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[xcode 4.2]]></category>

		<guid isPermaLink="false">http://www.dm9.se/?p=816</guid>
		<description><![CDATA[well hello there! i just updated to Xcode 4.2 on snow leopard (10.6.8) since 4.0.something kept crashing on me.. well, 4.2 wasn&#8217;t much better! when trying to open one of my projects it would crash immediately. i did the usual stuff, (re)moving but to no effect. when i checked the crash log i saw that [...]]]></description>
				<content:encoded><![CDATA[<p>well hello there!<br />
i just updated to Xcode 4.2 on snow leopard (10.6.8) since 4.0.something kept crashing on me.. well, 4.2 wasn&#8217;t much better! when trying to open one of my projects it would crash immediately. i did the usual stuff, (re)moving
<pre class="brush: plain; title: ; notranslate">~/Library/Preferences/com.apple.dt.Xcode.plist</pre>
<p> but to no effect. when i checked the crash log i saw that i got some ui-based reason:
<pre class="brush: plain; title: ; notranslate">...
ASSERTION FAILURE in /SourceCache/DVTKit/DVTKit-907/Framework/Classes/Tabs/DVTTabBarView.m:1532
Details:  Assertion failed: maxX &gt;= minX
...</pre>
<p> so i figured i&#8217;d check out what my workspace file (or actually folder) contained. after firing up <a href="https://github.com/kkass/iterm" target="_blank" title="iTerm">iTerm</a> and navigating to
<pre class="brush: plain; title: ; notranslate">&lt;project-dir&gt;/&lt;project-name&gt;.xcworkspace/xcuserdata/&lt;username&gt;.xcuserdatad/</pre>
<p> i found the file <b>UserInterfaceState.xcuserstate</b>. having had a few beers i didn&#8217;t feel like going thru a gazillion rows of apple-xml just to fix some layout-crap so i simply (re)moved it. This fixed the problem.</p>
<p>// sluggo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dm9.se/?feed=rss2&#038;p=816</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[mac, uvc-ctrl] uvc-ctrl 1.02alpha out..</title>
		<link>http://www.dm9.se/?p=793</link>
		<comments>http://www.dm9.se/?p=793#comments</comments>
		<pubDate>Tue, 18 Sep 2012 08:03:25 +0000</pubDate>
		<dc:creator>sluggo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tiny Gems]]></category>
		<category><![CDATA[c910]]></category>
		<category><![CDATA[logitech]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[uvc]]></category>
		<category><![CDATA[uvc-ctrl]]></category>
		<category><![CDATA[uvcc]]></category>

		<guid isPermaLink="false">http://www.dm9.se/?p=793</guid>
		<description><![CDATA[update: regarding the iSight, to get the it into uvc-ctrl menu it has to be active.. update 2: This was originally the release announcement for 1.0a, but i did some minor changes that i realized fixed some really annoying things in that version so i uploaded the new one (1.02a) and just replaced the download [...]]]></description>
				<content:encoded><![CDATA[<p><em>update</em>: regarding the iSight, to get the it into uvc-ctrl menu it has to be active..<br />
<br />
<em>update 2</em>: This was originally the release announcement for 1.0a, but i did some minor changes that i realized fixed some really annoying things in that version so i uploaded the new one (1.02a) and just replaced the download link here.. if you&#8217;re one of the first five to download the 1.0a version, i&#8217;m sorry!<br />
<br />
here&#8217;s the new alpha version of uvc-ctrl, it looks pretty much as the screenshots in the <a href="http://www.dm9.se/?p=774">previous post</a>. function-wise it doesn&#8217;t differ much from the last one but it now comes with a native gui localized in english and swedish and is completely dependency-free. note that it&#8217;s a status-bar app so no windows are displayed until you select a camera in the menu. there are still some functions missing, most notably the cam-profiles.. also, i&#8217;ve only had the chance to test it on 10.6.8. if anyone would like to report success/fail on other os x versions that would be super!<br />
since this is a complete rewrite any and all bug-reports are very welcome, either to <a href="mailto:sluggo@dm9.se" title="sluggo@dm9.se">sluggo@dm9.se</a> or in the comments below. It would be great if the they included your os x-version, any messages from the Console-app in the Utilities folder (you can filter with the phrase se.dm9) and what led up to it.<br />
lastly, since i wouldn&#8217;t be able to draw a stick-figure if my life depended on it there&#8217;s no icon!</p>
<p></p>
<div style="margin-top: 10px; margin-bottom: 10px; padding-left: 10px; padding-top: 5px; padding-bottom: 5px; border: 1px solid black;">Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>// sluggo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dm9.se/?feed=rss2&#038;p=793</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>[mac, uvc-ctrl] still a bit left</title>
		<link>http://www.dm9.se/?p=774</link>
		<comments>http://www.dm9.se/?p=774#comments</comments>
		<pubDate>Mon, 20 Aug 2012 23:53:22 +0000</pubDate>
		<dc:creator>sluggo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tiny Gems]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[QTKit]]></category>
		<category><![CDATA[uvc]]></category>
		<category><![CDATA[uvc-ctrl]]></category>
		<category><![CDATA[uvcc]]></category>

		<guid isPermaLink="false">http://www.dm9.se/?p=774</guid>
		<description><![CDATA[I&#8217;m not quite done with the new version of uvc-ctrl yet but i though i&#8217;ll give anyone that&#8217;s still interested an update.. the new version is a complete rewrite (not needing libusb and therefore distributed under the dm9 license), two part project. first there&#8217;s the uvcc-lib, a library that implements some of the stuff i&#8217;ve [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m not quite done with the new version of uvc-ctrl yet but i though i&#8217;ll give anyone that&#8217;s still interested an update..<br />
the new version is a complete rewrite (not needing libusb and therefore distributed under the <a title="dm9 license" href="http://lic.dm9.se">dm9 license</a>), two part project. first there&#8217;s the uvcc-lib, a library that implements some of the stuff i&#8217;ve been missing in QTKit (enumeration of resolutions and fps´, direct access to vendor and device id etc), a few helper functions to tie it up with QTKit (getting a uvccCam struct that can be used to send uvc requests from a [QTCaptureDevice uniqueID] and so on) and of course a uvccSendRequest function. Then there&#8217;s the application which will be a status bar (or &#8220;menu bar&#8221;, dunno the apple lingo here) app capable of setting all the settings on any connected uvc compliant cam.<br />
i thought i&#8217;d have this done by now but a work-project turned out occupy most of my summer. now i&#8217;m back, just moved into a new apartment and is trying to settle in and study for an exam i screwed up before leaving for the summer break.</p>
<p>next time i post it&#8217;ll be the new uvc-ctrl comming out.</p>
<p><em>update</em>: still some kinks to work out.. but here&#8217;s a sneek preview<br />
<img class="alignleft size-full wp-image-788" title="menu" src="http://www.dm9.se/wp-content/files/menu.png" alt="" width="253" height="168" /><img class="alignleft size-full wp-image-787" title="controlsWin" src="http://www.dm9.se/wp-content/files/controlsWin.png" alt="" width="330" height="513" /></p>
<p>// sluggo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dm9.se/?feed=rss2&#038;p=774</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>[mac, opencv] displaying IplImage in cocoa</title>
		<link>http://www.dm9.se/?p=746</link>
		<comments>http://www.dm9.se/?p=746#comments</comments>
		<pubDate>Tue, 03 Jul 2012 22:46:42 +0000</pubDate>
		<dc:creator>sluggo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tiny Gems]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[iplimage]]></category>
		<category><![CDATA[nsimage]]></category>
		<category><![CDATA[opencv]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.dm9.se/?p=746</guid>
		<description><![CDATA[update: ended up not using the old version so i didn&#8217;t look at it much. today i needed it again and realized it was crap so i rewrote it and here&#8217;s a new, (hopefully) less buggy version that also handles single-channel images. Through work i found the need to display an IplImage in cocoa.. after [...]]]></description>
				<content:encoded><![CDATA[<p><em>update</em>: ended up not using the old version so i didn&#8217;t look at it much. today i needed it again and realized it was crap so i rewrote it and here&#8217;s a new, (hopefully) less buggy version that also handles single-channel images.</p>
<p>Through work i found the need to display an IplImage in cocoa.. after looking at <a href="http://buzamoto.com/projects/CVOCV" target="_New" title="CVOCV">CVOCV</a>, <a href="https://github.com/jgh-/OpenCV-with-Cocoa-Demo" target="_New" title="James Hurleys example">James Hurleys example</a> and a couple of <a href="https://encrypted.google.com/search?hl=en&#038;q=iplimage%20to%20nsimage" target="_New" title="snippets">other snippets</a> i remembered that opencv can be built for iOS and started browsing through the source. Inside <b>OpenCV-2.4.1/modules/highgui/src/window_cocoa.mm</b> i found what i was looking for (CVView). i rewrote it a bit and came up with the following NSView subclass:</p>
<p>MyCVView.h</p>
<pre class="brush: objc; title: ; notranslate">#import &lt;Foundation/Foundation.h&gt;
#import &lt;opencv/cv.h&gt;


@interface MyCVView : NSView {
@private
	NSBitmapImageRep *bm;
@public
}
@property (nonatomic, retain) NSImage *image;

- (void)setImagePrefs:(int)width		// image width
			   height:(int)height		// &quot; height
			 channels:(int)nChannels	// usually 4/3/1 (rgba/rgb/monochrome)
			widthStep:(int)widthStep	// usually width*nChannels
			    depth:(int)depth;
- (void)setImageData:(IplImage *)img
   releaseWhenCopied:(BOOL)shouldRelease;
- (void)drawRect:(NSRect)rect;

@end</pre>
<p>MyCVView.m:</p>
<pre class="brush: objc; title: ; notranslate">#import &quot;MyCVView.h&quot;

@implementation MyCVView 

@synthesize image;

- (id)init {
	if((self = [super init])) [self setCanDrawConcurrently:true];
	return self;
}

- (void)setImagePrefs:(int)width
			   height:(int)height
			 channels:(int)nChannels
			widthStep:(int)widthStep
			    depth:(int)depth
{
	if(bm) [bm release];
	bm = [[NSBitmapImageRep alloc] initWithBitmapDataPlanes: NULL
												 pixelsWide: width
												 pixelsHigh: height
											  bitsPerSample: 8	// i only use IPL_DEPTH_8U, if you use others set it as an arg..
											samplesPerPixel: nChannels
												   hasAlpha: NO
												   isPlanar: NO
											 colorSpaceName: (nChannels == 1 ? NSDeviceWhiteColorSpace :  NSDeviceRGBColorSpace)
												bytesPerRow: widthStep
											   bitsPerPixel: nChannels*depth];
	if(image) [image release];
	image = [[NSImage alloc] init];
	[image addRepresentation:bm];
}

- (void)setImageData:(IplImage *)img
   releaseWhenCopied:(BOOL)shouldRelease
{
	if(!bm) [self setImagePrefs:img-&gt;width
						 height:img-&gt;height
					   channels:img-&gt;nChannels
					  widthStep:img-&gt;widthStep
					      depth:img-&gt;depth];
	unsigned char *src = (unsigned char *)img-&gt;imageData;
	unsigned char *dst = [bm bitmapData];
	if(img-&gt;nChannels == 1) memcpy(dst, src, (img-&gt;width*img-&gt;height));
	else
	{	// red-blue swap and flip incorporated
		for(int i = img-&gt;width * img-&gt;height - 1; i &gt;= 0; i--)
		{
			dst[i * 4 + 0] = src[2];
			dst[i * 4 + 1] = src[1];
			dst[i * 4 + 2] = src[0];
			src += ((CvMat *)img)-&gt;step - ((CvMat *)img)-&gt;cols;
		}
	}
	[self setNeedsDisplay:YES];
	if(shouldRelease) cvReleaseImage(&amp;img);
}

- (void)drawRect:(NSRect)rect {
	[super drawRect:rect];
	// autoscaling - if you don't want it replace second part with comment below 
	NSRect ir = {{0,0}, {[self bounds].size.width, [self bounds].size.height}};
						// {[image size].width, [image size].height}};
	if(image != nil)
	{
		[image drawInRect: ir
				 fromRect: NSZeroRect
				operation: NSCompositeSourceOver
				 fraction: 1.0];
	}
}

- (void)dealloc
{
	if(bm) [bm release];
	if(image) [image release];
    [super dealloc];
}

@end</pre>
<p>This was built without warnings in xcode 4 on snow leopard and saves some cpu-cycles compared to the original version since the rb-swap and flip is stuffed into a the data-copy-loop. Note that you should <b>not</b> call it CVView (will cause a crash) since opencv already contains a class with that name.</p>
<p>// sluggo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dm9.se/?feed=rss2&#038;p=746</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[mac, uvc-ctrl] new, mainly bugfix version of uvc-ctrl</title>
		<link>http://www.dm9.se/?p=734</link>
		<comments>http://www.dm9.se/?p=734#comments</comments>
		<pubDate>Tue, 17 Apr 2012 23:48:05 +0000</pubDate>
		<dc:creator>sluggo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tiny Gems]]></category>
		<category><![CDATA[c910]]></category>
		<category><![CDATA[logitech]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[uvc]]></category>
		<category><![CDATA[uvc-ctrl]]></category>

		<guid isPermaLink="false">http://www.dm9.se/?p=734</guid>
		<description><![CDATA[not much done but since i got rid of the most annoying thing i figured i&#8217;d release it anyway.. here&#8217;s what&#8217;s done could not claim interface: access denied error fixed. settings are still reset when some progs are started but they can now be set whilst running e.g. skype. show configuration works again. power line [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.dm9.se/?p=793">new version out</a><br />
not much done but since i got rid of the most annoying thing i figured i&#8217;d release it anyway.. here&#8217;s what&#8217;s done</p>
<ul class="def" style="padding-left:10px;">
<li><i>could not claim interface: access denied</i> error fixed. settings are still reset when some progs are started but they can now be set whilst running e.g. skype.</li>
<li><i>show configuration</i> works again.</li>
<li><i>power line frequency control</i> (manual 50/60Hz anti-flicker setting) added.</li>
</ul>
<p>
This version is also compatible with <a href="http://ppooll.klingt.org/index.php/downloads" target="_blank" title="Klaus' gui">Klaus&#8217; gui</a>.<br />
</p>
<div style="margin-top: 10px; margin-bottom: 10px; padding-left: 10px; padding-top: 5px; padding-bottom: 5px; border: 1px solid black;">Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>// sluggo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dm9.se/?feed=rss2&#038;p=734</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>[mac, uvc-ctrl] uvc-ctrl gui!</title>
		<link>http://www.dm9.se/?p=720</link>
		<comments>http://www.dm9.se/?p=720#comments</comments>
		<pubDate>Sat, 07 Apr 2012 00:13:23 +0000</pubDate>
		<dc:creator>sluggo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tiny Gems]]></category>
		<category><![CDATA[c910]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[logitech]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[uvc]]></category>
		<category><![CDATA[uvc-ctrl]]></category>

		<guid isPermaLink="false">http://www.dm9.se/?p=720</guid>
		<description><![CDATA[Klaus has written a gui for the latest version of ! to use it all you have to do is place the uvc-ctrl in the same folder as his app and you can point-and-click-control your uvc cam. if you wish to bundle uvc-ctrl and Klaus&#8217; gui you just copy it into the app. the easiest [...]]]></description>
				<content:encoded><![CDATA[<p>Klaus has written a <a title="gui download page" href="http://ppooll.klingt.org/index.php/downloads">gui</a> for the latest version of <a href="http://www.dm9.se/?p=734">uvc-ctrl</a>! to use it all you have to do is place the uvc-ctrl in the same folder as his app and you can point-and-click-control your uvc cam. if you wish to bundle uvc-ctrl and Klaus&#8217; gui you just copy it into the app. the easiest way to do that is by unpacking uvc-ctrl and uvc-ctrl-GUI in your home-folder, start the terminal (Applications &gt; Utilities &gt; Terminal) and type</p>
<pre class="brush: bash; title: ; notranslate">mv uvc-ctrl uvc-ctrl-GUI.app/Contents/MacOS/</pre>
<p>and then hit enter.<br />
Thank you Klaus for you awesome work!</p>
<p><em>note</em> <a href="http://www.dm9.se/?p=659">libusb</a> is still required.</p>
<p>// sluggo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dm9.se/?feed=rss2&#038;p=720</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>[mac, uvc-ctrl] new version of the uvc-controller</title>
		<link>http://www.dm9.se/?p=693</link>
		<comments>http://www.dm9.se/?p=693#comments</comments>
		<pubDate>Sat, 10 Mar 2012 22:26:41 +0000</pubDate>
		<dc:creator>sluggo</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tiny Gems]]></category>
		<category><![CDATA[c910]]></category>
		<category><![CDATA[logitech]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[uvc]]></category>
		<category><![CDATA[uvc-ctrl]]></category>

		<guid isPermaLink="false">http://www.dm9.se/?p=693</guid>
		<description><![CDATA[since people actually seemed to like this and i won&#8217;t have time to fix a gui for the new version for some time i&#8217;ll publish it without gui. the new beta fixes some bugs (especially the white balance one) and adds some feats.. no changelog available but here&#8217;s what you can get/set if your camera [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.dm9.se/?p=734">new version out</a><br />
<a href="http://www.dm9.se/?p=720">gui available</a><br />
<br />
since people actually seemed to like this and i won&#8217;t have time to fix a gui for the new version for some time i&#8217;ll publish it without gui.<br />
the new beta fixes some bugs (especially the white balance one) and adds some feats.. no changelog available but here&#8217;s what you can get/set if your camera supports it: auto-focus, absolute focus, relative focus, auto-exposure, absolute exposure, absolute iris, relative iris, auto-white balance temperature, absolute white balance temperature, brightness, contrast, gain, saturation and sharpness.<br />
note that the argument order has changed since the <a href="http://www.dm9.se/?p=667">last version</a>, think &#8220;get/set &lt;value&gt; of &lt;function&gt; on &lt;cam&gt;&#8221;. also included the source this time!</p>
<p>the binary included is &#8220;universal&#8221; (i386/x86_64) and have been tested on both os x 10.6 and 10.7 (thanks to <a title="Arvid" href="http://arvidtp.net" target="_blank">Arvid</a>). the source has also been compiled on freebsd9. it does not require python as that was only the gui. it does however require <a href="http://www.dm9.se/?p=659">libusb</a>.</p>
<p><strong>known bugs</strong> (thank you <a title="Matthew" href="http://www.thetechologyshow.com/" target="_blank">Matthew</a> and F-red for the reports)</p>
<ul class="def">
<li>interactive session can&#8217;t take negative values</li>
<li>auto-exposure value description in wrong order</li>
<li><em>show configuration</em> segfaults</li>
</ul>
<p><strong>update</strong> thanks to Klaus&#8217; report it seems possible to fix the problem with programs resetting settings made by uvc-ctrl. if you have this trouble: try starting the program that resets your settings, from within it switch to your iSight, update the settings you want with uvc-ctrl on your other cam and then switch back. your settings should now still be in place.</p>
<div style="margin-top: 10px; margin-bottom: 10px; padding-left: 10px; padding-top: 5px; padding-bottom: 5px; border: 1px solid black;">Note: There is a file embedded within this post, please visit this post to download the file.</div>
<p>// sluggo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dm9.se/?feed=rss2&#038;p=693</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>
