<?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 Detecting and Scanning objects on planar space in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Detecting-and-Scanning-objects-on-planar-space/m-p/1036463#M44155</link>
    <description>&lt;P&gt;In this application I use some of the concepts implemented in the DF_3DScan example&lt;/P&gt;

&lt;P&gt;I am trying to have an independant detecting and scanning frame windows where the object detection window is running "while(true)" meaning the program does not exit after scanning one object&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The problem appears after I scan the first object, I cannot take the same &lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;minFramesBeforeScanStart&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;it seems like&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;minFramesBeforeScanStart is decremneted in the sdk somewhere, and the SDK does not provide much control over this&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Any Ideas?&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;int main()
{
	PXCSenseManager* pSenseManager = PXCSenseManager::CreateInstance();
	pSenseManager-&amp;gt;QuerySession();
	pSenseManager-&amp;gt;Enable3DScan();
	pSenseManager-&amp;gt;Init();
	PXCCapture::DeviceInfo device_info;
	pSenseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryCapture()-&amp;gt;QueryDeviceInfo(0, &amp;amp;device_info);
	PXC3DScan* pScanner = pSenseManager-&amp;gt;Query3DScan();
	pxcI32 scanningFramesRemaining = 200;
	int SCAN_FRAMES = scanningFramesRemaining;
	pxcI32 frame = 0;
	pxcI32 firstScanningFrame = 0;
	UtilRender windowScan(L"Scanning");
	UtilRender windowDetect(L"Detecting Object");
	PXC3DScan::Configuration config = pScanner-&amp;gt;QueryConfiguration();
	config.minFramesBeforeScanStart = 400;
	config.mode = PXC3DScan::OBJECT_ON_PLANAR_SURFACE_DETECTION;
	config.options = config.options | PXC3DScan::TEXTURE;
	config.options = config.options | PXC3DScan::SOLIDIFICATION;
	pScanner-&amp;gt;SetConfiguration(config);
	while (true){
		PXCImage* image = pScanner-&amp;gt;AcquirePreviewImage();
		pSenseManager-&amp;gt;ReleaseFrame();
		if (pScanner-&amp;gt;IsScanning())
		{
			frame++;
			scanningFramesRemaining--;
			if (!firstScanningFrame)
			{
				firstScanningFrame = frame;
				pSenseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice()-&amp;gt;SetColorAutoExposure(false);
			}
			else{
				pSenseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice()-&amp;gt;SetColorAutoExposure(true);
			}
			UtilRender::RenderProgressBar(image, frame - firstScanningFrame + 1, SCAN_FRAMES, 2);
			windowScan.RenderFrame(image);
			
			if (scanningFramesRemaining == 0){
				PXC3DScan::FileFormat meshFormat = PXC3DScan::OBJ;
				pxcCHAR *meshFileName = //some path;
				frame = 0;
				scanningFramesRemaining = 200;
				pScanner-&amp;gt;Reconstruct(meshFormat, meshFileName);
			}
		}
		else{
			windowDetect.RenderFrame(image);
			windowScan.RenderFrame(image);
		}
		image-&amp;gt;Release();
	}
	pScanner-&amp;gt;Release();
	pSenseManager-&amp;gt;Release();
	return 0;
}&lt;/PRE&gt;</description>
    <pubDate>Tue, 27 Oct 2015 20:39:23 GMT</pubDate>
    <dc:creator>IEBEI</dc:creator>
    <dc:date>2015-10-27T20:39:23Z</dc:date>
    <item>
      <title>Detecting and Scanning objects on planar space</title>
      <link>https://community.intel.com/t5/Software-Archive/Detecting-and-Scanning-objects-on-planar-space/m-p/1036463#M44155</link>
      <description>&lt;P&gt;In this application I use some of the concepts implemented in the DF_3DScan example&lt;/P&gt;

&lt;P&gt;I am trying to have an independant detecting and scanning frame windows where the object detection window is running "while(true)" meaning the program does not exit after scanning one object&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The problem appears after I scan the first object, I cannot take the same &lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;minFramesBeforeScanStart&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;it seems like&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;minFramesBeforeScanStart is decremneted in the sdk somewhere, and the SDK does not provide much control over this&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Any Ideas?&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;int main()
{
	PXCSenseManager* pSenseManager = PXCSenseManager::CreateInstance();
	pSenseManager-&amp;gt;QuerySession();
	pSenseManager-&amp;gt;Enable3DScan();
	pSenseManager-&amp;gt;Init();
	PXCCapture::DeviceInfo device_info;
	pSenseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryCapture()-&amp;gt;QueryDeviceInfo(0, &amp;amp;device_info);
	PXC3DScan* pScanner = pSenseManager-&amp;gt;Query3DScan();
	pxcI32 scanningFramesRemaining = 200;
	int SCAN_FRAMES = scanningFramesRemaining;
	pxcI32 frame = 0;
	pxcI32 firstScanningFrame = 0;
	UtilRender windowScan(L"Scanning");
	UtilRender windowDetect(L"Detecting Object");
	PXC3DScan::Configuration config = pScanner-&amp;gt;QueryConfiguration();
	config.minFramesBeforeScanStart = 400;
	config.mode = PXC3DScan::OBJECT_ON_PLANAR_SURFACE_DETECTION;
	config.options = config.options | PXC3DScan::TEXTURE;
	config.options = config.options | PXC3DScan::SOLIDIFICATION;
	pScanner-&amp;gt;SetConfiguration(config);
	while (true){
		PXCImage* image = pScanner-&amp;gt;AcquirePreviewImage();
		pSenseManager-&amp;gt;ReleaseFrame();
		if (pScanner-&amp;gt;IsScanning())
		{
			frame++;
			scanningFramesRemaining--;
			if (!firstScanningFrame)
			{
				firstScanningFrame = frame;
				pSenseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice()-&amp;gt;SetColorAutoExposure(false);
			}
			else{
				pSenseManager-&amp;gt;QueryCaptureManager()-&amp;gt;QueryDevice()-&amp;gt;SetColorAutoExposure(true);
			}
			UtilRender::RenderProgressBar(image, frame - firstScanningFrame + 1, SCAN_FRAMES, 2);
			windowScan.RenderFrame(image);
			
			if (scanningFramesRemaining == 0){
				PXC3DScan::FileFormat meshFormat = PXC3DScan::OBJ;
				pxcCHAR *meshFileName = //some path;
				frame = 0;
				scanningFramesRemaining = 200;
				pScanner-&amp;gt;Reconstruct(meshFormat, meshFileName);
			}
		}
		else{
			windowDetect.RenderFrame(image);
			windowScan.RenderFrame(image);
		}
		image-&amp;gt;Release();
	}
	pScanner-&amp;gt;Release();
	pSenseManager-&amp;gt;Release();
	return 0;
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Oct 2015 20:39:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Detecting-and-Scanning-objects-on-planar-space/m-p/1036463#M44155</guid>
      <dc:creator>IEBEI</dc:creator>
      <dc:date>2015-10-27T20:39:23Z</dc:date>
    </item>
    <item>
      <title>Are you using the latest R4</title>
      <link>https://community.intel.com/t5/Software-Archive/Detecting-and-Scanning-objects-on-planar-space/m-p/1036464#M44156</link>
      <description>&lt;P&gt;Are you using the latest R4 release?&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;This is a known usability issue which was fixed in the latest (R4) release. In R4, the module no longer controls the delay. And it is up to the caller to implement this delay when needed. Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:59:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Detecting-and-Scanning-objects-on-planar-space/m-p/1036464#M44156</guid>
      <dc:creator>Xusheng_L_Intel</dc:creator>
      <dc:date>2015-10-28T16:59:54Z</dc:date>
    </item>
    <item>
      <title>Thank you,</title>
      <link>https://community.intel.com/t5/Software-Archive/Detecting-and-Scanning-objects-on-planar-space/m-p/1036465#M44157</link>
      <description>&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;Thank you,&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;I downloaded the new SDK and it seems that the issue is fixed.&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;But you guys took away the DF Scan c++ sample :D&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;and also I am having problems with "&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;pSenseManager-&amp;gt;ReleaseFrame();"&lt;/SPAN&gt;&amp;nbsp;in the new SDK that I am still trying to debug.&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 00:02:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Detecting-and-Scanning-objects-on-planar-space/m-p/1036465#M44157</guid>
      <dc:creator>IEBEI</dc:creator>
      <dc:date>2015-10-29T00:02:39Z</dc:date>
    </item>
    <item>
      <title>Ok, great. You can use C# 3D</title>
      <link>https://community.intel.com/t5/Software-Archive/Detecting-and-Scanning-objects-on-planar-space/m-p/1036466#M44158</link>
      <description>&lt;P&gt;Ok, great. You can use C# 3D scan sample as a reference. Please let me know if you have any issue. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 01:56:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Detecting-and-Scanning-objects-on-planar-space/m-p/1036466#M44158</guid>
      <dc:creator>Xusheng_L_Intel</dc:creator>
      <dc:date>2015-10-29T01:56:33Z</dc:date>
    </item>
  </channel>
</rss>

