<?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 Re: Problem on face tracking from a video in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580804#M10785</link>
    <description>&lt;P&gt;Thank you very much for the confirmation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the pulse module that you are using the Pulse Estimation module that comes with the R2 SDK?  Or is it an OpenCV pulse module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_face_pulse_estimation_data.html"&gt;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_face_pulse_estimation_data.html&lt;/A&gt; Intel® RealSense™ SDK 2016 R2 Documentation &lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2018 07:04:30 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2018-08-28T07:04:30Z</dc:date>
    <item>
      <title>Problem on face tracking from a video</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580801#M10782</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm trying to use the face tracking solution from the SDK for tracking expression and pulse from a video. I use openCV to get each image in the video, then convert them to PXCImage and feed them to face module to process. But I meet a problem that when I use 2D mode, and the "Pulse" module is selected, the first frame is OK but from the next frame, it can't find any face though the picture is the same as the first frame. Everything is OK when the mode is "3D IR" or the "Pulse" module is not selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyone who have met the same problem?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 05:55:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580801#M10782</guid>
      <dc:creator>ZWang41</dc:creator>
      <dc:date>2018-08-28T05:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on face tracking from a video</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580802#M10783</link>
      <description>&lt;P&gt;Could you tell me which RealSense SDK you are using please?   Is it '2016 R2' or '2016 R3', or is it the current RealSense SDK 2.0.  Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 06:24:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580802#M10783</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-08-28T06:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on face tracking from a video</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580803#M10784</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The SDK I'm using is "2016 R2".&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 06:43:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580803#M10784</guid>
      <dc:creator>ZWang41</dc:creator>
      <dc:date>2018-08-28T06:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on face tracking from a video</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580804#M10785</link>
      <description>&lt;P&gt;Thank you very much for the confirmation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the pulse module that you are using the Pulse Estimation module that comes with the R2 SDK?  Or is it an OpenCV pulse module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_face_pulse_estimation_data.html"&gt;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_face_pulse_estimation_data.html&lt;/A&gt; Intel® RealSense™ SDK 2016 R2 Documentation &lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:04:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580804#M10785</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-08-28T07:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on face tracking from a video</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580805#M10786</link>
      <description>&lt;P&gt;I'm sorry what I said is unclear. I think I'm using the Pulse Estimation module that comes with the R2 SDK. Actually I select the "Pulse" check box on the interface of the face tracking sample solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I set "Profile" to "2D", and set "Mode" to "playback". I choose a playback file and click "Start" button. While it is processing, I create a picture and convert it to PXCImage. Then I feed it to a sample and process it with&lt;/P&gt;&lt;P&gt;ProcessSample(PXCCapture::Sample *sample)&lt;/P&gt;&lt;P&gt;Thank you for being so patient.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:27:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580805#M10786</guid>
      <dc:creator>ZWang41</dc:creator>
      <dc:date>2018-08-28T07:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on face tracking from a video</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580806#M10787</link>
      <description>&lt;P&gt;I tried replicating your test with the software that I have.  I ran the Face Tracking (C++) program with my SR300 and used it to record an RSSDK file in 2D mode with pulse selected.  Then I loaded the file into Playback mode with the same settings and it worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I am not using your PXC processing routine, it is likely that the problem is with that aspect of the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I have to go out of office for an hour.   I will reply to any new comments as soon as I'm back.  Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:41:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580806#M10787</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-08-28T07:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on face tracking from a video</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580807#M10788</link>
      <description>&lt;P&gt;What I do to replace sample is:&lt;/P&gt;&lt;P&gt;PXCCapture::Sample* sample = senseManager-&amp;gt;QueryFaceSample();&lt;/P&gt;&lt;P&gt;This is the sample code in the solution. Replace it to:&lt;/P&gt;&lt;P&gt;PXCCapture::Sample sample = {};&lt;/P&gt;&lt;P&gt;PXCImage::ImageInfo iinfo = {};&lt;/P&gt;&lt;P&gt;memset(&amp;amp;iinfo, 0, sizeof(iinfo));&lt;/P&gt;&lt;P&gt;iinfo.width = 1280;&lt;/P&gt;&lt;P&gt;iinfo.height = 720;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Read raw file and convert it to PXCImage&lt;/P&gt;&lt;P&gt;PXCImage::PixelFormat format = PXCImage::PIXEL_FORMAT_Y8_IR_RELATIVE;&lt;/P&gt;&lt;P&gt;iinfo.format = format;&lt;/P&gt;&lt;P&gt;PXCImage::ImageData data = {};&lt;/P&gt;&lt;P&gt;data.format = format;&lt;/P&gt;&lt;P&gt;FILE* pFile;&lt;/P&gt;&lt;P&gt;pFile = fopen("&lt;A&gt;e:\\ir_result.dat&lt;/A&gt;", "rb");//this is my raw file &lt;/P&gt;&lt;P&gt;long len = 1280*720*1;&lt;/P&gt;&lt;P&gt;pxcBYTE* planes0 = new pxcBYTE[len];&lt;/P&gt;&lt;P&gt;memset(planes0, 0, len);&lt;/P&gt;&lt;P&gt;fread(planes0, 1, len, pFile);&lt;/P&gt;&lt;P&gt;fclose(pFile);&lt;/P&gt;&lt;P&gt;data.planes[0] = planes0;&lt;/P&gt;&lt;P&gt;data.pitches[0] = (iinfo.width * 1);&lt;/P&gt;&lt;P&gt;PXCImage * pxcImagec = senseManager-&amp;gt;QuerySession()-&amp;gt;CreateImage(&amp;amp;iinfo, &amp;amp;data);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//feed sample and process it&lt;/P&gt;&lt;P&gt;PXCImage::ImageInfo info = pxcImagec-&amp;gt;QueryInfo();&lt;/P&gt;&lt;P&gt;sample.color = session-&amp;gt;CreateImage(&amp;amp;info);&lt;/P&gt;&lt;P&gt;sample.color-&amp;gt;CopyImage(pxcImagec);&lt;/P&gt;&lt;P&gt;pxcImagec-&amp;gt;Release();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vm-&amp;gt;ProcessSample(&amp;amp;sample);&lt;/P&gt;&lt;P&gt;Then in DrawBitmap function, replace "sample" to "&amp;amp;sample"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me find what is the problem? I find several days but I can't find the problem.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 08:22:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580807#M10788</guid>
      <dc:creator>ZWang41</dc:creator>
      <dc:date>2018-08-28T08:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on face tracking from a video</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580808#M10789</link>
      <description>&lt;P&gt;I do not have the ability to test scripts on my PC, unfortunately.  I will link RealSense stream programming expert jb455 into this discussion for his input, as his scripting knowledge goes back to that earlier SDK's language.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 09:26:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580808#M10789</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-08-28T09:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on face tracking from a video</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580809#M10790</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 00:41:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580809#M10790</guid>
      <dc:creator>ZWang41</dc:creator>
      <dc:date>2018-08-29T00:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem on face tracking from a video</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580810#M10791</link>
      <description>&lt;P&gt;I never used face tracking so can't help, sorry. Best suggestion I can make is to avoid using the old SDK altogether as it's no longer supported. Better to use the new SDK for obtaining the camera streams then third party libraries like OpenCV for anything else you need.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 08:42:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Problem-on-face-tracking-from-a-video/m-p/580810#M10791</guid>
      <dc:creator>jb455</dc:creator>
      <dc:date>2018-08-29T08:42:44Z</dc:date>
    </item>
  </channel>
</rss>

