<?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>JActionScripters &#187; Kenichi Ueno</title>
	<atom:link href="http://blog.jactionscripters.com/author/keno/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jactionscripters.com</link>
	<description>More than 20 Japanese flash coders share the blog/ You will be junkie for this crazy Japanese Flash news</description>
	<lastBuildDate>Sat, 08 Oct 2011 16:55:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Introduction of QR Code Reader Library</title>
		<link>http://blog.jactionscripters.com/2009/05/23/introduction-of-qr-code-reader-library/</link>
		<comments>http://blog.jactionscripters.com/2009/05/23/introduction-of-qr-code-reader-library/#comments</comments>
		<pubDate>Fri, 22 May 2009 19:46:49 +0000</pubDate>
		<dc:creator>Kenichi Ueno</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=322</guid>
		<description><![CDATA[For people who want to use QR Codes within the Flash environment, LOGOSWARE (the company I work for) has released a QR Code Reader into the Spark Project. 
It is essentially a library that recognizes and decodes any QR Code from any image source.

The QR Code Reader is made from 2 main Classes.
1. GetQRImage Class: [...]]]></description>
			<content:encoded><![CDATA[<p>For people who want to use QR Codes within the Flash environment, <a href="http://www.logosware.com">LOGOSWARE</a> (the company I work for) has released a <a href="http://www.libspark.org/wiki/QRCodeReader/en">QR Code Reader</a> into the <a href="http://www.libspark.org/wiki/WikiStart/en">Spark Project</a>. </p>
<p>It is essentially a library that recognizes and decodes any <a href="http://www.denso-wave.com/qrcode/aboutqr-e.html">QR Code</a> from any image source.</p>
<p><span id="more-322"></span><br />
The QR Code Reader is made from 2 main Classes.<br />
1. GetQRImage Class: recognize QR Code from any image<br />
2. QRdecode Class: decode a QR Code to get string</p>
<p>Here is an introduction on how to get started.</p>
<p>1. GetQRImage:</p>
<pre name="code" class="as3">// set DisplayObject contains a QR Code
getQRimage = new GetQRimage(imageSrc); // imageSrc:DisplayObject(Sprite, Video, ...)
// run onQrImageReadComplete when the QR Code is found
getQRimage.addEventListener(QRreaderEvent.QR_IMAGE_READ_COMPLETE, onQrImageReadComplete);
// begin recognition. you may run this every frame when the image source is viewed by a webcam.
getQRimage.process();

// invoked when QR Code is found
function onQrImageReadComplete(e:QRreaderEvent):void{
// e.data is a 2D bit array of QR Code
}</pre>
<p> <br />
The bit array of QR Code obtained by GetQRimage can be decode by QRdecode Class.</p>
<p>2.QRdecode Class</p>
<pre name="code" class="as3">// set 2D bit array of QR Code
qrDecode.setQR(e.data); // e:QRreaderEvent
// run onQrDecodeComplete when decoding is complete
qrDecode.addEventListener(QRdecoderEvent.QR_DECODE_COMPLETE, onQrDecodeComplete);
// begin decoding
qrDecode.startDecode();

// invoked when decoding is complete
function onQrDecodeComplete(e: QRdecoderEvent):void{
// e.data is the string decoded from QR Code
}</pre>
<p>Below is a sample of the flash application and a QR Code. If it doesn’t work, please check the following.</p>
<ul>
<li>Is the webcam connected to your computer?</li>
<li>focus the webcam</li>
<li>set the webcam center, directly viewing the QR Code, and move it back and forth</li>
</ul>
<p> </p>
<p style="text-align: center;"><object width="350" height="350" data="http://jactionscripters.com/files/Keno/ReadQrCodeSample.swf" type="application/x-shockwave-flash"><param name="id" value="undefined" /><param name="name" value="undefined" /><param name="bgcolor" value="#FFFFFF" /><param name="src" value="http://jactionscripters.com/files/Keno/ReadQrCodeSample.swf" /><param name="quality" value="high" /></object><br />
<img class="aligncenter" src="http://jactionscripters.com/files/Keno/helloactionscripters.png" alt="" /></p>
<p> <br />
Both Classes support QR Code of Model Two, Version 1-10 and all levels of Error correction.<br />
If you have any comments or questions, please post them here or e-mail me directly.<br />
keno42 [at] gmail [dot] com</p>
<p>I think the GetQRimage Class has many points to be improved upon (e.g. It is currently using a global thresholding, but an adaptive thresholding may increase recognition rate).<br />
I will keep updating these points and then submit them to the Spark Project.</p>
<p>&#8212;<br />
QR code (R) is a registered trademark of Denso Wave Incorporated.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/23/introduction-of-qr-code-reader-library/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Hello there!</title>
		<link>http://blog.jactionscripters.com/2009/05/16/hello-there/</link>
		<comments>http://blog.jactionscripters.com/2009/05/16/hello-there/#comments</comments>
		<pubDate>Fri, 15 May 2009 16:44:11 +0000</pubDate>
		<dc:creator>Kenichi Ueno</dc:creator>
				<category><![CDATA[Hello]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=64</guid>
		<description><![CDATA[Hello! Nice to meet you every ActionScripter! I&#8217;m Kenichi Ueno, a Flash Developer working for LOGOSWARE Corporation.
One of my recent work QR Code Reader is shared in the Spark Project. It&#8217;s a great idea to make something open and shared. I&#8217;m also interested in the global Flash community. Let&#8217;s get connected!
I like to make Flash [...]]]></description>
			<content:encoded><![CDATA[<p>Hello! Nice to meet you every ActionScripter! I&#8217;m Kenichi Ueno, a Flash Developer working for <a href="http://www.logosware.com">LOGOSWARE Corporation</a>.</p>
<p>One of my recent work <a href="http://www.libspark.org/wiki/QRCodeReader/en">QR Code Reader</a> is shared in the <a href="http://www.libspark.org/wiki/WikiStart/en">Spark Project</a>. It&#8217;s a great idea to make something open and shared. I&#8217;m also interested in the global Flash community. Let&#8217;s get connected!</p>
<p>I like to make Flash program has something to do with painting(oekaki) by FlashDevelop in free time. My recent challenge is to improve my multi-user painting tool using the <a href="http://www.unionplatform.com/">Union Platform</a>.</p>
<p>Thank you!<br />
Facebook:<a href="http://www.facebook.com/people/Kenichi-Ueno/1705759555">Kenichi Ueno</a>, Twitter:<a href="http://twitter.com/keno42">@keno42</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/16/hello-there/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

