<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-7020121201334877809</atom:id><lastBuildDate>Fri, 08 Nov 2024 17:00:05 +0000</lastBuildDate><category>open cv</category><category>programming</category><category>tutorial</category><category>vision</category><category>C#</category><category>Hello World</category><category>Microsoft Visual Studio</category><category>Windows Console Application</category><category>barcode</category><category>coding</category><category>easy</category><category>express</category><category>library</category><category>open source</category><category>setup</category><category>simple</category><category>ultimate</category><category>video</category><category>windows form</category><title>Dr Tran&#39;s playground</title><description>Dr Tran&#39;s step by step programming lessons</description><link>http://drtranplayground.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7020121201334877809.post-9071604661420706748</guid><pubDate>Fri, 12 Sep 2014 15:00:00 +0000</pubDate><atom:updated>2014-09-12T08:00:07.546-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">barcode</category><category domain="http://www.blogger.com/atom/ns#">coding</category><category domain="http://www.blogger.com/atom/ns#">programming</category><title>using Zxing for barcode reading</title><description>&lt;b id=&quot;docs-internal-guid-bad96147-679c-e038-35fe-f0cb2c98f84d&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;b id=&quot;docs-internal-guid-bad96147-679c-e038-35fe-f0cb2c98f84d&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;I needed to be able to decode barcodes so looked for a library and stumbled across ZXing which is an open source project originally written in java. It was ported over to C# and can be found at https://zxingnet.codeplex.com/&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b id=&quot;docs-internal-guid-bad96147-679c-e038-35fe-f0cb2c98f84d&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Here is how to use it&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- download the library with github, link on the site above&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- add reference to the zxing.dll that corresponds to the version of .net you are using in this project (I’m using .Net 4.5 so navigate to C:\zxingnet2\net4.5&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- get a barcode and put it at this location&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;C:\\examples\\barcode.png&quot;&lt;/span&gt;&lt;/div&gt;
&lt;/b&gt;&lt;b id=&quot;docs-internal-guid-bad96147-679c-e038-35fe-f0cb2c98f84d&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;119px;&quot; src=&quot;https://lh4.googleusercontent.com/hl6t5OKkl0CaT3zroeKGQrErLy7l9Ls1f80mFVQ38AMzGrI_whkUxX9MDjmwwZVKyyWd6h6uFPok21SBT32-Q3fiFEtGTHosXOCHn8vFMFO6EO87Ewc05AHb6Va5UI1SoQ&quot; style=&quot;border: medium none; transform: rotate(0rad);&quot; width=&quot;132px;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/b&gt;&lt;b id=&quot;docs-internal-guid-bad96147-679c-e038-35fe-f0cb2c98f84d&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- add this code to your function. I’m using the same code as the previous project.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- add a picturebox on the form (picturebox1)&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- add two textboxes on the form (textbox1, textbox2)&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using System;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using System.Collections.Generic;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using System.ComponentModel;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using System.Data;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using System.Drawing;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using System.Linq;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using System.Text;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using System.Threading.Tasks;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using System.Windows.Forms;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using OpenCvSharp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;using ZXing;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;namespace WindowsFormsApplication2&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;public partial class Form1 : Form&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public Form1()&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;InitializeComponent();&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IplImage test = Cv.LoadImage(&quot;C:\\examples\\barcode.png&quot;, LoadMode.Color);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Cv.NamedWindow(&quot;hello&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Cv.ShowImage(&quot;hello&quot;, test);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;textBox1.Text = &quot;fou&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// create a barcode reader instance&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IBarcodeReader reader = new BarcodeReader();&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// load a bitmap&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var barcodeBitmap = (Bitmap)Bitmap.FromFile(&quot;C:\\examples\\barcode.png&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// detect and decode the barcode inside the bitmap&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pictureBox1.Image = barcodeBitmap;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var result = reader.Decode(barcodeBitmap);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// do something with the result&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (result != null)&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;textBox1.Text = result.BarcodeFormat.ToString();&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;textBox2.Text = result.Text;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//--------------------&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Cv.ShowImage(&quot;hello&quot;, test);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;catch (Exception ex)&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int i = 0;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- F5 and it will run and show the code type and code&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;300px;&quot; src=&quot;https://lh4.googleusercontent.com/hJRrmNTKLeGs0uQQfK6-mY6A3j0XTG_BIRjiBlmc1is_ZQLIWI9NNHVJ_YQu81edly1eSO1Pjck2gjkbL8xQs7qoh1YfzKmttUStDMCUE_x6lUCuvQOqBkPAv7926yIkOA&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;300px;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.42632722854614; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: green; font-family: &#39;Courier New&#39;; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- note that this is quite a robust reading method as long as the code is well isolated from print. Preprocessing should be used to remove another within a certain distance from the barcode.&lt;/span&gt;&lt;/div&gt;
&lt;/b&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;</description><link>http://drtranplayground.blogspot.com/2014/09/using-zxing-for-barcode-reading.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh4.googleusercontent.com/hl6t5OKkl0CaT3zroeKGQrErLy7l9Ls1f80mFVQ38AMzGrI_whkUxX9MDjmwwZVKyyWd6h6uFPok21SBT32-Q3fiFEtGTHosXOCHn8vFMFO6EO87Ewc05AHb6Va5UI1SoQ=s72-c" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7020121201334877809.post-8819132627969284937</guid><pubDate>Sat, 06 Sep 2014 08:04:00 +0000</pubDate><atom:updated>2014-09-06T01:04:22.195-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">open cv</category><category domain="http://www.blogger.com/atom/ns#">programming</category><category domain="http://www.blogger.com/atom/ns#">vision</category><title>Using opencsharp</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Now this was much simpler than I thought, and since I don’t anticipate going into OpenCV functions to alter them, I will just run with the DLLs of OpenCV.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b id=&quot;docs-internal-guid-1543ffbe-49fc-8df2-ec38-038091155d6d&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- download gitgui for windows. This program will allow us to easily clone GitHub repositories to our hard drive.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;a href=&quot;http://git-scm.com/downloads/guis&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://git-scm.com/downloads/guis&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- clone the opencvsharp&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- go to &lt;/span&gt;&lt;a href=&quot;https://github.com/shimat/opencvsharp&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #1155cc; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;https://github.com/shimat/opencvsharp&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- bottom-right corner→ press clone to desktop → put in a location (I chose C:/opencvsharp)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- compile and run some sample code&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- open the solution at C:\opencvsharp\sample&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- build all&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- set a project as startup project (I chose CStyleSamples)&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- run (F5)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;You should get these outputs.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;539px;&quot; src=&quot;https://lh3.googleusercontent.com/M9FfC4ShnPrvQJSym9lQpdqsi1HijE4UZvkRhpsi2tlnHM-znw0ZcBUWjn3RinZgEOFQe78JPqZasUAudu-fmtngB2K0XiPTUi0Rn4h2A8tzgp5JsQmm3AVjPpGkCg6lZg&quot; style=&quot;-webkit-transform: rotate(0rad); border: none; transform: rotate(0rad);&quot; width=&quot;517px;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;539px;&quot; src=&quot;https://lh6.googleusercontent.com/JXloFP73tveaVxaXbpc4tJY74Hg8PpWgkVjxpn0y5oVGhvz5M-NL3klPYPyXTjDwwcja38YFKf6LDWUX8SS1pFsYu6Oc3C72mDyQgQLkUGXhUc5UQP7W19lYvrxC80614Q&quot; style=&quot;-webkit-transform: rotate(0rad); border: none; transform: rotate(0rad);&quot; width=&quot;517px;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;539px;&quot; src=&quot;https://lh4.googleusercontent.com/ZS7nhYDiWJE3LiAm3e6puC3QXn7aECLTgD1e2_CdA1GonynCv7F_KStQZzgLg-1OKbikqTn7hFQgrMlA7os-BAHXKeDB_muKKSD0moqyTsBosAes3q9RPgSDIgC4xDIOUA&quot; style=&quot;-webkit-transform: rotate(0rad); border: none; transform: rotate(0rad);&quot; width=&quot;517px;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;It works!!! If you are having problems, please post questions here.&lt;/span&gt;&lt;/div&gt;
</description><link>http://drtranplayground.blogspot.com/2014/09/using-opencsharp.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/M9FfC4ShnPrvQJSym9lQpdqsi1HijE4UZvkRhpsi2tlnHM-znw0ZcBUWjn3RinZgEOFQe78JPqZasUAudu-fmtngB2K0XiPTUi0Rn4h2A8tzgp5JsQmm3AVjPpGkCg6lZg=s72-c" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7020121201334877809.post-5116805736745448884</guid><pubDate>Sat, 06 Sep 2014 07:57:00 +0000</pubDate><atom:updated>2014-09-06T01:02:01.034-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">library</category><category domain="http://www.blogger.com/atom/ns#">open cv</category><category domain="http://www.blogger.com/atom/ns#">open source</category><category domain="http://www.blogger.com/atom/ns#">setup</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><category domain="http://www.blogger.com/atom/ns#">vision</category><title>Open CV setup</title><description>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
For all of us less fluent Visual Studio users, here are step by step of how I setup Visual Studio, Cmake, and OpenCV to running a working “hello world” type project. Please let me know if I’m doing something unconventional or that is bad practice. We’re all here to learn!&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- install Visual Studio 2012 (or any other versions but do know which versions you are installing)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
→ note: VC11 is Visual Studio 2012, VC12 is VIsual Studio 2013…&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
I installed it with all the standard settings, yes to everything&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- install OpenCV latest version (I stay away from Alpha versions because they might have bugs and might not be supported by the latest OpenCVSharp which is my end goal.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.0.0-alpha/&quot;&gt;http://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.0.0-alpha/&lt;/a&gt; → here I downloaded the OpenCV 2.4.9 version &lt;a href=&quot;http://sourceforge.net/projects/opencvlibrary/files/latest/download?source=files&quot;&gt;http://sourceforge.net/projects/opencvlibrary/files/latest/download?source=files&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
I went with all the default values and put it in the default directory “C:\opencv249”&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- install cmake&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
go to this address&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.cmake.org/download/&quot;&gt;http://www.cmake.org/download/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
get the &lt;a href=&quot;http://www.cmake.org/files/v3.0/cmake-3.0.1-win32-x86.exe&quot;&gt;cmake-3.0.1-win32-x86.exe&lt;/a&gt; binaries, it makes your life way simpler because it just extracts itself. I went with default locations.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
“C:\Program Files (x86)\CMake”&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- write a .cpp file with enough to call some OpenCV functions (got this from the openCV site tutorials) &lt;a href=&quot;http://docs.opencv.org/doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.html#linux-gcc-usage&quot;&gt;http://docs.opencv.org/doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.html#linux-gcc-usage&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Put this file in this directory for example&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
.\Documents\Visual Studio 2012\Projects\DisplayImage&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; height=&quot;377&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYrRHCXfnsZ3-u9_qoq0uWxMzAmqbav6FSojMh1Y2yW7TyNPeTStm2DNAnvnVSxt-SO4McnFujSzh8FRuCCFKwT_AbfyrlLH-_UZ1VoJvqaGEEKrcc5M5hazl_8Hb0UKcOvYxxGCTNmjYH/s1600/1.1.png&quot; title=&quot;open cv setup&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
#include &amp;lt;opencv2/opencv.hpp&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
using namespace cv;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
int main(int argc, char** argv )&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
if ( argc != 2 )&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
printf(&quot;usage: DisplayImage.out &amp;lt;Image_Path&amp;gt;\n&quot;);&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
return -1;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Mat image;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
image = imread( argv[1], 1 );&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
if ( !image.data )&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
printf(&quot;No image data \n&quot;);&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
return -1;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
namedWindow(&quot;Display Image&quot;, CV_WINDOW_AUTOSIZE );&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
imshow(&quot;Display Image&quot;, image);&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
waitKey(0);&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
return 0;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfH-yYTLXaTwsKf1bdY2v6oIS-ArCMndwnJD3jc2j-yJg6n07QYJIGvyTQ8NZ6Ot-s_xg0Nxm5H_us57AH24dxCOgruQkS2qJL5_i9wXHwoP235Trlqaglnn-SBueGU0pma91bJI8FUWhs/s1600/1.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; height=&quot;376&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfH-yYTLXaTwsKf1bdY2v6oIS-ArCMndwnJD3jc2j-yJg6n07QYJIGvyTQ8NZ6Ot-s_xg0Nxm5H_us57AH24dxCOgruQkS2qJL5_i9wXHwoP235Trlqaglnn-SBueGU0pma91bJI8FUWhs/s1600/1.png&quot; title=&quot;open cv setup&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- write a cmakelists.txt file that has this inside&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
cmake_minimum_required(VERSION 2.8)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
project( DisplayImage )&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
find_package( OpenCV REQUIRED )&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
add_executable( DisplayImage DisplayImage.cpp )&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
target_link_libraries( DisplayImage ${OpenCV_LIBS} )&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6Zpw5A2Rtd4-Z7548Qa-R8J04h8uyIhOfiVEmCtcdFS4ZG8-xY1et-ENSehDT0ex_x-qd6SsU4riWlIoMMci7Cqiyb5EsF_9FuvoI9vvjKYOG9hf89bMpFxc7wmOVu7sZUKvpBpjx3f1/s1600/2.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6Zpw5A2Rtd4-Z7548Qa-R8J04h8uyIhOfiVEmCtcdFS4ZG8-xY1et-ENSehDT0ex_x-qd6SsU4riWlIoMMci7Cqiyb5EsF_9FuvoI9vvjKYOG9hf89bMpFxc7wmOVu7sZUKvpBpjx3f1/s1600/2.png&quot; title=&quot;open cv setup&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- run cmake.exe and browse to the location of the source file and cmakelists.txt&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
C:/Users/NAME/Documents/Visual Studio 2012/Projects/DisplayImage&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
point the build to where you want the solution and project files need to be.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
C:/Users/NAME/Documents/Visual Studio 2012/Projects/DisplayImage/Build&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- when prompted for which compiler, choose Visual Studio 2012 (I am using the 32bit version, you can tell it’s 32bits by the fact that the Visual Studio 2012 folder is under “c:/program files x86” folder.)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
→ note: I had the error “error in configuration process” because I had selected Visual Studio 2013, selecting the right version should go through quite nicely&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
What’s happening here is that you are creating solution and project files that Visual Studio will be able to open, compile and build the project.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZuA4Ps2xw-_pNH0de7PbKlxGfdQ9b8Jxjkh3tTwSpb_pchTXkrxgz_e2sWQ0b0yIQVs55jxidQJEzKL29jMDwVpnCAjS_8fj90IUG4DihDPfFQm8o9J9qVpJ_W740EJdVta1dsv88eSld/s1600/3.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; height=&quot;442&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZuA4Ps2xw-_pNH0de7PbKlxGfdQ9b8Jxjkh3tTwSpb_pchTXkrxgz_e2sWQ0b0yIQVs55jxidQJEzKL29jMDwVpnCAjS_8fj90IUG4DihDPfFQm8o9J9qVpJ_W740EJdVta1dsv88eSld/s1600/3.png&quot; title=&quot;open cv setup&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
it will configure...&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpTN3fH_LfLMMkFFZhNyOlIjNP_bgJtFDUOzIG7pQy3ClNfxcMmKPYfuWx3_he0Bc8544sRDnQBIUdauuqMCzSO7R3BwalcYZFQX9N-MZNrjh7GvLbcu4cNMBbiy7VaNmmnK85EniEXnep/s1600/4.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; height=&quot;589&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpTN3fH_LfLMMkFFZhNyOlIjNP_bgJtFDUOzIG7pQy3ClNfxcMmKPYfuWx3_he0Bc8544sRDnQBIUdauuqMCzSO7R3BwalcYZFQX9N-MZNrjh7GvLbcu4cNMBbiy7VaNmmnK85EniEXnep/s1600/4.png&quot; title=&quot;open cv setup&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Then press Generate, it will generate&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirO7G_bd-pKQL_KHN5D24HmxuQcwD52OljG8__zJesIQTLmwVwRnceceC1H6JSmlMI_ts0uNtMSkX3CsjIRKE5OGiD5mxKCv3klL3aP9-4vhlTpzYvAlsuYeAp4SfYvkWAyislIRkD4phV/s1600/5.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; height=&quot;589&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirO7G_bd-pKQL_KHN5D24HmxuQcwD52OljG8__zJesIQTLmwVwRnceceC1H6JSmlMI_ts0uNtMSkX3CsjIRKE5OGiD5mxKCv3klL3aP9-4vhlTpzYvAlsuYeAp4SfYvkWAyislIRkD4phV/s1600/5.png&quot; title=&quot;open cv setup&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- Now go to “C:\Users\NAME\Documents\Visual Studio 2012\Projects\DisplayImage\build” where you just created the solution and project files.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpAuxlwjOADgHNRjFCBRIt3gX2_lk5ZcfgtY6_tERmsntJbZCju0CdlIyNNtF0ibGHMZ0WmchyU0VA8uBaOewssC3ewv36A5H3GVoY4349Mo6jPSvLySxAkHLYHphfGporsCRLFCg0Ss2Q/s1600/6.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; height=&quot;378&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpAuxlwjOADgHNRjFCBRIt3gX2_lk5ZcfgtY6_tERmsntJbZCju0CdlIyNNtF0ibGHMZ0WmchyU0VA8uBaOewssC3ewv36A5H3GVoY4349Mo6jPSvLySxAkHLYHphfGporsCRLFCg0Ss2Q/s1600/6.png&quot; title=&quot;open cv setup&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Open the DisplayImage solution file&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYK30DRotr2dBy2hB7_GA24zyBV24WlbcLfeCLwElv3goiNI7IXZX4yPebFf0LHSi7b9Bax9pcZrQHtqksnTJ2qFUPghMFXIBftlKcibjSk6KbhsgKCaeSK5pEACfS9uPZxZ1X5fOClkfN/s1600/7.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; height=&quot;376&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYK30DRotr2dBy2hB7_GA24zyBV24WlbcLfeCLwElv3goiNI7IXZX4yPebFf0LHSi7b9Bax9pcZrQHtqksnTJ2qFUPghMFXIBftlKcibjSk6KbhsgKCaeSK5pEACfS9uPZxZ1X5fOClkfN/s1600/7.png&quot; title=&quot;open cv setup&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- Press F6 to build all.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUMapz5q7Gdua3LDMK1ZQE9QKK3dZ_RZKlg5Ck_hW7wnY9Tl-GrX1gy0hKeLajhs6NSCnSIufRtkOe8p1j2zsnrhKW2gZ21JVNtMPb3VS7UQSmaydfkOXok75vHoKdsJ1qW_VhqooiKcon/s1600/8.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; height=&quot;376&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUMapz5q7Gdua3LDMK1ZQE9QKK3dZ_RZKlg5Ck_hW7wnY9Tl-GrX1gy0hKeLajhs6NSCnSIufRtkOe8p1j2zsnrhKW2gZ21JVNtMPb3VS7UQSmaydfkOXok75vHoKdsJ1qW_VhqooiKcon/s1600/8.png&quot; title=&quot;open cv setup&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- Now everything is built but this is a command line project so you need to run it from command line&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- navigate to the build directory&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
C:\Users\NAME\Documents\Visual Studio 2012\Projects\DisplayImage\build\Debug&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Bring in the needed dlls&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
→ opencv_highgui249d.dll&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
→ opencv_imgproc249d.dll&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
→ opencv_core249d.dll&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Bring in an image of your choice (here I brought in an image I called lena.jpg)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLNBI_UDr1omXda-xphuoq-kP3Lj1xfgQYMHrlIJxkArv8HhwoOUOE3zEB603ESg-_aDS8l9MRpGH7DrgoM4UhHuDqYD3vZFfrhXsKKupOAGrohuVNK6x1K6_xPhvSFp6UuNmjnhdwzJCb/s1600/9.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLNBI_UDr1omXda-xphuoq-kP3Lj1xfgQYMHrlIJxkArv8HhwoOUOE3zEB603ESg-_aDS8l9MRpGH7DrgoM4UhHuDqYD3vZFfrhXsKKupOAGrohuVNK6x1K6_xPhvSFp6UuNmjnhdwzJCb/s1600/9.png&quot; title=&quot;open cv setup&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
(you can right-click and save this one as lena.jpg, to that build directory)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEuif5P2ohEcjfFZvvlYcDtM1YET17SJNU_mmZwjk5Ts-HnMeTyJTNB3kbnf1-YiCHPc5HQ1Fm1ZN-lhb4toksIhAoicijkpt271Ufy1xggX8-8x4FOdb-0RdFGOkC1IoX09phVSHJcBnA/s1600/10.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; height=&quot;378&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEuif5P2ohEcjfFZvvlYcDtM1YET17SJNU_mmZwjk5Ts-HnMeTyJTNB3kbnf1-YiCHPc5HQ1Fm1ZN-lhb4toksIhAoicijkpt271Ufy1xggX8-8x4FOdb-0RdFGOkC1IoX09phVSHJcBnA/s1600/10.png&quot; title=&quot;open cv setup&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- Now navigate to the right directory in command prompt&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQIkkwCZ-HJ0JRz-NDLoqzFODwnKwkwz7OEs8CoIh6YFTBaRuF8AY8vzN0_UQA9OSgcFiLBgJ5mvMwubAgmLML2UcWXSWM7V4j3aEHrIdENx_KCkWaUHtdcmOl7YW26tGv04OKVQHZdYtE/s1600/11.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQIkkwCZ-HJ0JRz-NDLoqzFODwnKwkwz7OEs8CoIh6YFTBaRuF8AY8vzN0_UQA9OSgcFiLBgJ5mvMwubAgmLML2UcWXSWM7V4j3aEHrIdENx_KCkWaUHtdcmOl7YW26tGv04OKVQHZdYtE/s1600/11.png&quot; title=&quot;open cv setup&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
type in DisplayImage lena.jpg and you will see the image you put in that directory!&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxykdmK6V23hsX3beLc49G88yiFlf4xDatjkGlZ9RDMWDCti2Iczz7lwIP7ffK6KQoU7j4cCuj-p_DZgqgNyJxjKdlS34vD-fRAtiUKzS5muvoXUwSJtqcIA59NGsgyWkHCBVTKfsUsVUv/s1600/12.png&quot;&gt;&lt;img alt=&quot;open cv setup&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxykdmK6V23hsX3beLc49G88yiFlf4xDatjkGlZ9RDMWDCti2Iczz7lwIP7ffK6KQoU7j4cCuj-p_DZgqgNyJxjKdlS34vD-fRAtiUKzS5muvoXUwSJtqcIA59NGsgyWkHCBVTKfsUsVUv/s1600/12.png&quot; title=&quot;open cv setup&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;







































&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F1.bp.blogspot.com%2F-Oas_czYYYvE%2FVAq2bp7fhqI%2FAAAAAAAACEI%2FroVPQmq5Ico%2Fs1600%2F11.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQIkkwCZ-HJ0JRz-NDLoqzFODwnKwkwz7OEs8CoIh6YFTBaRuF8AY8vzN0_UQA9OSgcFiLBgJ5mvMwubAgmLML2UcWXSWM7V4j3aEHrIdENx_KCkWaUHtdcmOl7YW26tGv04OKVQHZdYtE/s1600/11.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F1.bp.blogspot.com%2F-9IVsUHZcOM4%2FVAq16Wqd7yI%2FAAAAAAAACDI%2Fl72ldkhFBsI%2Fs1600%2F3.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZuA4Ps2xw-_pNH0de7PbKlxGfdQ9b8Jxjkh3tTwSpb_pchTXkrxgz_e2sWQ0b0yIQVs55jxidQJEzKL29jMDwVpnCAjS_8fj90IUG4DihDPfFQm8o9J9qVpJ_W740EJdVta1dsv88eSld/s1600/3.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-uG06tnRP_yo%2FVAq2QQ-78QI%2FAAAAAAAACDw%2FFhW-C5MAlBU%2Fs1600%2F8.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUMapz5q7Gdua3LDMK1ZQE9QKK3dZ_RZKlg5Ck_hW7wnY9Tl-GrX1gy0hKeLajhs6NSCnSIufRtkOe8p1j2zsnrhKW2gZ21JVNtMPb3VS7UQSmaydfkOXok75vHoKdsJ1qW_VhqooiKcon/s1600/8.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQIkkwCZ-HJ0JRz-NDLoqzFODwnKwkwz7OEs8CoIh6YFTBaRuF8AY8vzN0_UQA9OSgcFiLBgJ5mvMwubAgmLML2UcWXSWM7V4j3aEHrIdENx_KCkWaUHtdcmOl7YW26tGv04OKVQHZdYtE/s1600/11.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQIkkwCZ-HJ0JRz-NDLoqzFODwnKwkwz7OEs8CoIh6YFTBaRuF8AY8vzN0_UQA9OSgcFiLBgJ5mvMwubAgmLML2UcWXSWM7V4j3aEHrIdENx_KCkWaUHtdcmOl7YW26tGv04OKVQHZdYtE/s1600/11.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxykdmK6V23hsX3beLc49G88yiFlf4xDatjkGlZ9RDMWDCti2Iczz7lwIP7ffK6KQoU7j4cCuj-p_DZgqgNyJxjKdlS34vD-fRAtiUKzS5muvoXUwSJtqcIA59NGsgyWkHCBVTKfsUsVUv/s1600/12.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxykdmK6V23hsX3beLc49G88yiFlf4xDatjkGlZ9RDMWDCti2Iczz7lwIP7ffK6KQoU7j4cCuj-p_DZgqgNyJxjKdlS34vD-fRAtiUKzS5muvoXUwSJtqcIA59NGsgyWkHCBVTKfsUsVUv/s1600/12.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLNBI_UDr1omXda-xphuoq-kP3Lj1xfgQYMHrlIJxkArv8HhwoOUOE3zEB603ESg-_aDS8l9MRpGH7DrgoM4UhHuDqYD3vZFfrhXsKKupOAGrohuVNK6x1K6_xPhvSFp6UuNmjnhdwzJCb/s1600/9.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLNBI_UDr1omXda-xphuoq-kP3Lj1xfgQYMHrlIJxkArv8HhwoOUOE3zEB603ESg-_aDS8l9MRpGH7DrgoM4UhHuDqYD3vZFfrhXsKKupOAGrohuVNK6x1K6_xPhvSFp6UuNmjnhdwzJCb/s1600/9.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfH-yYTLXaTwsKf1bdY2v6oIS-ArCMndwnJD3jc2j-yJg6n07QYJIGvyTQ8NZ6Ot-s_xg0Nxm5H_us57AH24dxCOgruQkS2qJL5_i9wXHwoP235Trlqaglnn-SBueGU0pma91bJI8FUWhs/s1600/1.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfH-yYTLXaTwsKf1bdY2v6oIS-ArCMndwnJD3jc2j-yJg6n07QYJIGvyTQ8NZ6Ot-s_xg0Nxm5H_us57AH24dxCOgruQkS2qJL5_i9wXHwoP235Trlqaglnn-SBueGU0pma91bJI8FUWhs/s1600/1.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUMapz5q7Gdua3LDMK1ZQE9QKK3dZ_RZKlg5Ck_hW7wnY9Tl-GrX1gy0hKeLajhs6NSCnSIufRtkOe8p1j2zsnrhKW2gZ21JVNtMPb3VS7UQSmaydfkOXok75vHoKdsJ1qW_VhqooiKcon/s1600/8.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUMapz5q7Gdua3LDMK1ZQE9QKK3dZ_RZKlg5Ck_hW7wnY9Tl-GrX1gy0hKeLajhs6NSCnSIufRtkOe8p1j2zsnrhKW2gZ21JVNtMPb3VS7UQSmaydfkOXok75vHoKdsJ1qW_VhqooiKcon/s1600/8.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEuif5P2ohEcjfFZvvlYcDtM1YET17SJNU_mmZwjk5Ts-HnMeTyJTNB3kbnf1-YiCHPc5HQ1Fm1ZN-lhb4toksIhAoicijkpt271Ufy1xggX8-8x4FOdb-0RdFGOkC1IoX09phVSHJcBnA/s1600/10.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEuif5P2ohEcjfFZvvlYcDtM1YET17SJNU_mmZwjk5Ts-HnMeTyJTNB3kbnf1-YiCHPc5HQ1Fm1ZN-lhb4toksIhAoicijkpt271Ufy1xggX8-8x4FOdb-0RdFGOkC1IoX09phVSHJcBnA/s1600/10.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F4.bp.blogspot.com%2F-6dHrlUliV7k%2FVAq2fNRTjhI%2FAAAAAAAACEQ%2Fl-YQFu_sfJk%2Fs1600%2F12.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxykdmK6V23hsX3beLc49G88yiFlf4xDatjkGlZ9RDMWDCti2Iczz7lwIP7ffK6KQoU7j4cCuj-p_DZgqgNyJxjKdlS34vD-fRAtiUKzS5muvoXUwSJtqcIA59NGsgyWkHCBVTKfsUsVUv/s1600/12.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYK30DRotr2dBy2hB7_GA24zyBV24WlbcLfeCLwElv3goiNI7IXZX4yPebFf0LHSi7b9Bax9pcZrQHtqksnTJ2qFUPghMFXIBftlKcibjSk6KbhsgKCaeSK5pEACfS9uPZxZ1X5fOClkfN/s1600/7.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYK30DRotr2dBy2hB7_GA24zyBV24WlbcLfeCLwElv3goiNI7IXZX4yPebFf0LHSi7b9Bax9pcZrQHtqksnTJ2qFUPghMFXIBftlKcibjSk6KbhsgKCaeSK5pEACfS9uPZxZ1X5fOClkfN/s1600/7.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirO7G_bd-pKQL_KHN5D24HmxuQcwD52OljG8__zJesIQTLmwVwRnceceC1H6JSmlMI_ts0uNtMSkX3CsjIRKE5OGiD5mxKCv3klL3aP9-4vhlTpzYvAlsuYeAp4SfYvkWAyislIRkD4phV/s1600/5.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirO7G_bd-pKQL_KHN5D24HmxuQcwD52OljG8__zJesIQTLmwVwRnceceC1H6JSmlMI_ts0uNtMSkX3CsjIRKE5OGiD5mxKCv3klL3aP9-4vhlTpzYvAlsuYeAp4SfYvkWAyislIRkD4phV/s1600/5.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpAuxlwjOADgHNRjFCBRIt3gX2_lk5ZcfgtY6_tERmsntJbZCju0CdlIyNNtF0ibGHMZ0WmchyU0VA8uBaOewssC3ewv36A5H3GVoY4349Mo6jPSvLySxAkHLYHphfGporsCRLFCg0Ss2Q/s1600/6.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpAuxlwjOADgHNRjFCBRIt3gX2_lk5ZcfgtY6_tERmsntJbZCju0CdlIyNNtF0ibGHMZ0WmchyU0VA8uBaOewssC3ewv36A5H3GVoY4349Mo6jPSvLySxAkHLYHphfGporsCRLFCg0Ss2Q/s1600/6.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6Zpw5A2Rtd4-Z7548Qa-R8J04h8uyIhOfiVEmCtcdFS4ZG8-xY1et-ENSehDT0ex_x-qd6SsU4riWlIoMMci7Cqiyb5EsF_9FuvoI9vvjKYOG9hf89bMpFxc7wmOVu7sZUKvpBpjx3f1/s1600/2.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6Zpw5A2Rtd4-Z7548Qa-R8J04h8uyIhOfiVEmCtcdFS4ZG8-xY1et-ENSehDT0ex_x-qd6SsU4riWlIoMMci7Cqiyb5EsF_9FuvoI9vvjKYOG9hf89bMpFxc7wmOVu7sZUKvpBpjx3f1/s1600/2.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F4.bp.blogspot.com%2F--Bwou_99SCs%2FVAq1S27NsGI%2FAAAAAAAACCw%2FFbC9bAo61Lk%2Fs1600%2F1.1.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYrRHCXfnsZ3-u9_qoq0uWxMzAmqbav6FSojMh1Y2yW7TyNPeTStm2DNAnvnVSxt-SO4McnFujSzh8FRuCCFKwT_AbfyrlLH-_UZ1VoJvqaGEEKrcc5M5hazl_8Hb0UKcOvYxxGCTNmjYH/s1600/1.1.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZuA4Ps2xw-_pNH0de7PbKlxGfdQ9b8Jxjkh3tTwSpb_pchTXkrxgz_e2sWQ0b0yIQVs55jxidQJEzKL29jMDwVpnCAjS_8fj90IUG4DihDPfFQm8o9J9qVpJ_W740EJdVta1dsv88eSld/s1600/3.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZuA4Ps2xw-_pNH0de7PbKlxGfdQ9b8Jxjkh3tTwSpb_pchTXkrxgz_e2sWQ0b0yIQVs55jxidQJEzKL29jMDwVpnCAjS_8fj90IUG4DihDPfFQm8o9J9qVpJ_W740EJdVta1dsv88eSld/s1600/3.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-o1W2S-cb7FU%2FVAq1-siwJ5I%2FAAAAAAAACDQ%2FJ61kNeHnd84%2Fs1600%2F4.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpTN3fH_LfLMMkFFZhNyOlIjNP_bgJtFDUOzIG7pQy3ClNfxcMmKPYfuWx3_he0Bc8544sRDnQBIUdauuqMCzSO7R3BwalcYZFQX9N-MZNrjh7GvLbcu4cNMBbiy7VaNmmnK85EniEXnep/s1600/4.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYrRHCXfnsZ3-u9_qoq0uWxMzAmqbav6FSojMh1Y2yW7TyNPeTStm2DNAnvnVSxt-SO4McnFujSzh8FRuCCFKwT_AbfyrlLH-_UZ1VoJvqaGEEKrcc5M5hazl_8Hb0UKcOvYxxGCTNmjYH/s1600/1.1.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYrRHCXfnsZ3-u9_qoq0uWxMzAmqbav6FSojMh1Y2yW7TyNPeTStm2DNAnvnVSxt-SO4McnFujSzh8FRuCCFKwT_AbfyrlLH-_UZ1VoJvqaGEEKrcc5M5hazl_8Hb0UKcOvYxxGCTNmjYH/s1600/1.1.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F1.bp.blogspot.com%2F-DYIaiojWkag%2FVAq1c6sBV9I%2FAAAAAAAACDA%2F99WRFz_6Q6c%2Fs1600%2F2.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6Zpw5A2Rtd4-Z7548Qa-R8J04h8uyIhOfiVEmCtcdFS4ZG8-xY1et-ENSehDT0ex_x-qd6SsU4riWlIoMMci7Cqiyb5EsF_9FuvoI9vvjKYOG9hf89bMpFxc7wmOVu7sZUKvpBpjx3f1/s1600/2.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-NKLG6fbNK_I%2FVAq2Uhwg1tI%2FAAAAAAAACD4%2FW31ka88vLHc%2Fs1600%2F9.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLNBI_UDr1omXda-xphuoq-kP3Lj1xfgQYMHrlIJxkArv8HhwoOUOE3zEB603ESg-_aDS8l9MRpGH7DrgoM4UhHuDqYD3vZFfrhXsKKupOAGrohuVNK6x1K6_xPhvSFp6UuNmjnhdwzJCb/s1600/9.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-7BKXVc1dngU%2FVAq2YcsTFVI%2FAAAAAAAACEA%2F7UdstsW4TVI%2Fs1600%2F10.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEuif5P2ohEcjfFZvvlYcDtM1YET17SJNU_mmZwjk5Ts-HnMeTyJTNB3kbnf1-YiCHPc5HQ1Fm1ZN-lhb4toksIhAoicijkpt271Ufy1xggX8-8x4FOdb-0RdFGOkC1IoX09phVSHJcBnA/s1600/10.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F1.bp.blogspot.com%2F-vU7n1NI588E%2FVAq1af_8_kI%2FAAAAAAAACC4%2FYc44eFm4yU8%2Fs1600%2F1.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfH-yYTLXaTwsKf1bdY2v6oIS-ArCMndwnJD3jc2j-yJg6n07QYJIGvyTQ8NZ6Ot-s_xg0Nxm5H_us57AH24dxCOgruQkS2qJL5_i9wXHwoP235Trlqaglnn-SBueGU0pma91bJI8FUWhs/s1600/1.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F2.bp.blogspot.com%2F-abjxSGIwfhY%2FVAq2Gkk89lI%2FAAAAAAAACDY%2FeaiIkx5WmRg%2Fs1600%2F5.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirO7G_bd-pKQL_KHN5D24HmxuQcwD52OljG8__zJesIQTLmwVwRnceceC1H6JSmlMI_ts0uNtMSkX3CsjIRKE5OGiD5mxKCv3klL3aP9-4vhlTpzYvAlsuYeAp4SfYvkWAyislIRkD4phV/s1600/5.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F4.bp.blogspot.com%2F-YU0vnleqejc%2FVAq2NcjA4RI%2FAAAAAAAACDo%2FjGlFrdtBLNw%2Fs1600%2F7.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYK30DRotr2dBy2hB7_GA24zyBV24WlbcLfeCLwElv3goiNI7IXZX4yPebFf0LHSi7b9Bax9pcZrQHtqksnTJ2qFUPghMFXIBftlKcibjSk6KbhsgKCaeSK5pEACfS9uPZxZ1X5fOClkfN/s1600/7.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpTN3fH_LfLMMkFFZhNyOlIjNP_bgJtFDUOzIG7pQy3ClNfxcMmKPYfuWx3_he0Bc8544sRDnQBIUdauuqMCzSO7R3BwalcYZFQX9N-MZNrjh7GvLbcu4cNMBbiy7VaNmmnK85EniEXnep/s1600/4.png&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpTN3fH_LfLMMkFFZhNyOlIjNP_bgJtFDUOzIG7pQy3ClNfxcMmKPYfuWx3_he0Bc8544sRDnQBIUdauuqMCzSO7R3BwalcYZFQX9N-MZNrjh7GvLbcu4cNMBbiy7VaNmmnK85EniEXnep/s1600/4.png&quot; --&gt;&lt;!-- Blogger automated replacement: &quot;https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-bx1w_AWXGSg%2FVAq2KMdU8eI%2FAAAAAAAACDg%2FLOHw406XPc4%2Fs1600%2F6.png&amp;amp;container=blogger&amp;amp;gadget=a&amp;amp;rewriteMime=image%2F*&quot; with &quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpAuxlwjOADgHNRjFCBRIt3gX2_lk5ZcfgtY6_tERmsntJbZCju0CdlIyNNtF0ibGHMZ0WmchyU0VA8uBaOewssC3ewv36A5H3GVoY4349Mo6jPSvLySxAkHLYHphfGporsCRLFCg0Ss2Q/s1600/6.png&quot; --&gt;</description><link>http://drtranplayground.blogspot.com/2014/09/open-cv-setup.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYrRHCXfnsZ3-u9_qoq0uWxMzAmqbav6FSojMh1Y2yW7TyNPeTStm2DNAnvnVSxt-SO4McnFujSzh8FRuCCFKwT_AbfyrlLH-_UZ1VoJvqaGEEKrcc5M5hazl_8Hb0UKcOvYxxGCTNmjYH/s72-c/1.1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7020121201334877809.post-2467793766820507675</guid><pubDate>Wed, 02 May 2012 05:24:00 +0000</pubDate><atom:updated>2014-09-06T00:01:57.917-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">easy</category><category domain="http://www.blogger.com/atom/ns#">express</category><category domain="http://www.blogger.com/atom/ns#">Hello World</category><category domain="http://www.blogger.com/atom/ns#">Microsoft Visual Studio</category><category domain="http://www.blogger.com/atom/ns#">simple</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><category domain="http://www.blogger.com/atom/ns#">ultimate</category><category domain="http://www.blogger.com/atom/ns#">video</category><category domain="http://www.blogger.com/atom/ns#">Windows Console Application</category><category domain="http://www.blogger.com/atom/ns#">windows form</category><title>How to display Hello World with C#</title><description>Well, this is where it begins, C#, a HelloWorld console and Windows form application.&lt;br /&gt;
&lt;br /&gt;
Microsoft  has made it super easy for anybody to start programming, but this is  really just the beginning. You&#39;ll find tons of sweet additions in C#, my  favorite is Intellisense, which accurately predicts what I&#39;m going to  be typing simply based on a few letters and history of what I&#39;ve typed.  Intellisense was present in Microsoft Visual C++ but really not to this  extent, it was pretty much only useful when you had a class with  functions or members.&lt;br /&gt;
&lt;br /&gt;
Here&#39;s a video that should guide  you through how to get started in C#. It gets more interesting later on  but let&#39;s start by getting our feet wet.&lt;br /&gt;
&lt;br /&gt;
I like to have a recipe for everything, that way its easier to tell where it went downhill. Watch the video to guide you through.&lt;br /&gt;
&lt;br /&gt;
1- Start Microsoft Visual Studio (whichever version, it&#39;ll be the same for now). I&#39;m using the Ultimate edition.&lt;br /&gt;
2- Click on New Project&lt;br /&gt;
3- Select Windows Console Application&lt;br /&gt;
4- Type in a name in the application name: I will type HelloWorldConsole&lt;br /&gt;
5- Type Console.WriteLine(&quot;Hello World!!!&quot;) in the main function&lt;br /&gt;
6- Press F5 to start debugging or Ctrl-F5 for start without debugging which will keep the screen on after the application exits.&lt;br /&gt;
&lt;br /&gt;
And there you have it. Your own first program. Play around with what you can type in there as well as format just to confirm to yourself that you are in control of C#... for now.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/Lnnld5Kw6kY?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Console applications are fun for beginners but if you want to do something commercial, it&#39;s just not awesome enough. I&#39;d go to at least Windows form for something acceptable and make money or make someone happy. Here&#39;s a tutorial on how to do Hello World using Windows Form with C#. As you can see, its very simple and that&#39;s thanks to Microsoft (i&#39;m a big fan).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/9ZsWYWHc0d0?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
And what&#39;s hot now are phone apps. Windows also has its own phone and the beauty of it is that the language used to program it is C#!!! Which means that all the stuff you learn from Windows Forms is reusable here, plus more. I&#39;ve programmed iPhone-iPad apps before and I&#39;ll tell you, the submission procedure is so much simpler with Windows phone that I was considering switching over to Windows phone only.&lt;br /&gt;
&lt;br /&gt;
Here&#39;s a hello world video on windows phone, hope you enjoy how simple it is and go from there!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/H6hzKreFuD8?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;</description><link>http://drtranplayground.blogspot.com/2012/05/how-to-display-hello-world-with-c.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item></channel></rss>