<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Doc example typos in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Doc-example-typos/m-p/1046340#M48191</link>
    <description>&lt;P&gt;There are 3 typos in "C++ Example 65: Using the Blob Extractor". All of them are missing &amp;amp; and * characters. This is the corrected version:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;// Extract the blobs
void ExtractBlobs(PXCSession *session, PXCImage *image, std::vector&amp;lt;PXCBlobExtractor::BlobData&amp;gt; &amp;amp;blobs) {
	blobs.clear();

	// Create an instance of the blob extractor
	PXCBlobExtractor *blob = 0;
	pxcStatus sts = session-&amp;gt;CreateImpl&amp;lt;PXCBlobExtractor&amp;gt;(&amp;amp;blob);
	if (sts &amp;lt; PXC_STATUS_NO_ERROR) return;

	// Initialize
	PXCImage::ImageInfo iinfo = image-&amp;gt;QueryInfo();
	PXCImage *segImage = session-&amp;gt;CreateImage(&amp;amp;iinfo);
	blob-&amp;gt;Init(iinfo);

	// Extract blobs from the image
	blob-&amp;gt;ProcessImage(*image);

	// Prepare blob data to return back
	int nblobs = blob-&amp;gt;QueryNumberOfBlobs();
	for (int i = 0; i &amp;lt; nblobs; i++) {
		PXCBlobExtractor::BlobData data2;
		blob-&amp;gt;QueryBlobData(i, *segImage, data2);
		blobs.push_back(data2);
	}

	// Clean up
	segImage-&amp;gt;Release();
	blob-&amp;gt;Release();
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// Clean up&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;segImage-&amp;gt;Release();&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;blob-&amp;gt;Release();&lt;BR /&gt;
	}&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jan 2015 05:27:03 GMT</pubDate>
    <dc:creator>Zsolt_E_</dc:creator>
    <dc:date>2015-01-10T05:27:03Z</dc:date>
    <item>
      <title>Doc example typos</title>
      <link>https://community.intel.com/t5/Software-Archive/Doc-example-typos/m-p/1046340#M48191</link>
      <description>&lt;P&gt;There are 3 typos in "C++ Example 65: Using the Blob Extractor". All of them are missing &amp;amp; and * characters. This is the corrected version:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;// Extract the blobs
void ExtractBlobs(PXCSession *session, PXCImage *image, std::vector&amp;lt;PXCBlobExtractor::BlobData&amp;gt; &amp;amp;blobs) {
	blobs.clear();

	// Create an instance of the blob extractor
	PXCBlobExtractor *blob = 0;
	pxcStatus sts = session-&amp;gt;CreateImpl&amp;lt;PXCBlobExtractor&amp;gt;(&amp;amp;blob);
	if (sts &amp;lt; PXC_STATUS_NO_ERROR) return;

	// Initialize
	PXCImage::ImageInfo iinfo = image-&amp;gt;QueryInfo();
	PXCImage *segImage = session-&amp;gt;CreateImage(&amp;amp;iinfo);
	blob-&amp;gt;Init(iinfo);

	// Extract blobs from the image
	blob-&amp;gt;ProcessImage(*image);

	// Prepare blob data to return back
	int nblobs = blob-&amp;gt;QueryNumberOfBlobs();
	for (int i = 0; i &amp;lt; nblobs; i++) {
		PXCBlobExtractor::BlobData data2;
		blob-&amp;gt;QueryBlobData(i, *segImage, data2);
		blobs.push_back(data2);
	}

	// Clean up
	segImage-&amp;gt;Release();
	blob-&amp;gt;Release();
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// Clean up&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;segImage-&amp;gt;Release();&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;blob-&amp;gt;Release();&lt;BR /&gt;
	}&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jan 2015 05:27:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Doc-example-typos/m-p/1046340#M48191</guid>
      <dc:creator>Zsolt_E_</dc:creator>
      <dc:date>2015-01-10T05:27:03Z</dc:date>
    </item>
    <item>
      <title>It seems that example 66 also</title>
      <link>https://community.intel.com/t5/Software-Archive/Doc-example-typos/m-p/1046341#M48192</link>
      <description>&lt;P&gt;It seems that example 66 also has a bug at&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;contour-&amp;gt;ProcessImage(*image);&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jan 2015 05:30:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Doc-example-typos/m-p/1046341#M48192</guid>
      <dc:creator>Zsolt_E_</dc:creator>
      <dc:date>2015-01-10T05:30:20Z</dc:date>
    </item>
  </channel>
</rss>

