<?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: How do i set 60fps with SR300(Color Camera , FaceTracking) in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415314#M2648</link>
    <description>&lt;P&gt;It looks as though you have already correctly set it to 60 fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STREAM_TYPE_COLOR, 640, 480, 60);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first two numbers set the resolution (640, 480 is 640x480 resolution).  The third number on the end (60) is the FPS.  So by setting it at 60, you have set it as 640x480 resolution at 60 FPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wanted to set the stream type to color instead of depth, it would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sm.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_DEPTH,640,480,60);&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2017 09:33:36 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2017-02-13T09:33:36Z</dc:date>
    <item>
      <title>How do i set 60fps with SR300(Color Camera , FaceTracking)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415313#M2647</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'm trying to set 60fps with SR300(Color Camera , FaceTracking).&lt;/P&gt;&lt;P&gt;I'm using Unity and C#  Script.&lt;/P&gt;&lt;P&gt;C#  Script sets SR300.&lt;/P&gt;&lt;P&gt;When I read the specification of SR300, it was written that 720p Mode is able to set 60fps.&lt;/P&gt;&lt;P&gt;But, I don't know how to set it.&lt;/P&gt;&lt;P&gt;Could you teach me it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writting the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    public GameObject colorPlane; //Object to display color feed texture on&lt;/P&gt;&lt;P&gt;    public Texture2D colorTexture2D; //Color Texture&lt;/P&gt;&lt;P&gt;    private PXCMImage colorImage = null;//PXCMImage for color &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    private FaceRenderer faceRenderer; //Rendererer for Visualization&lt;/P&gt;&lt;P&gt;    private int MaxPoints = 78;&lt;/P&gt;&lt;P&gt;    private PXCMSenseManager psm; //SenseManager Instance&lt;/P&gt;&lt;P&gt;    private pxcmStatus sts; //Check error status&lt;/P&gt;&lt;P&gt;    private PXCMFaceModule faceAnalyzer; //FaceModule Instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;void Start () {&lt;P&gt;&lt;/P&gt;&lt;P&gt;        faceRenderer = gameObject.GetComponent();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        /* Initialize a PXCMSenseManager instance */&lt;/P&gt;&lt;P&gt;        psm = PXCMSenseManager.CreateInstance();&lt;/P&gt;&lt;P&gt;        if (psm == null)&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;            Debug.LogError("SenseManager Initialization Failed");&lt;/P&gt;&lt;P&gt;            return;&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        /* Enable the color stream of size 640x480 */&lt;/P&gt;&lt;P&gt;        psm.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR, 640, 480, 60);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        /* Enable the face tracking module*/&lt;/P&gt;&lt;P&gt;        sts = psm.EnableFace();&lt;/P&gt;&lt;P&gt;        if (sts != pxcmStatus.PXCM_STATUS_NO_ERROR) Debug.LogError("PXCSenseManager.EnableFace: " + sts);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        /* Retrieve an instance of face to configure */&lt;/P&gt;&lt;P&gt;        faceAnalyzer = psm.QueryFace();&lt;/P&gt;&lt;P&gt;        if (faceAnalyzer == null) Debug.LogError("PXCSenseManager.QueryFace");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        /* Initialize the execution pipeline */&lt;/P&gt;&lt;P&gt;        sts = psm.Init();&lt;/P&gt;&lt;P&gt;        if (sts != pxcmStatus.PXCM_STATUS_NO_ERROR)&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;            Debug.LogError("PXCMSenseManager.Init Failed");&lt;/P&gt;&lt;P&gt;            OnDisable();&lt;/P&gt;&lt;P&gt;            return;&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        /* Retrieve a PXCMFaceConfiguration instance from a face to enable Gestures and Alerts */&lt;/P&gt;&lt;P&gt;        PXCMFaceConfiguration config = faceAnalyzer.CreateActiveConfiguration();&lt;/P&gt;config.detection.isEnabled = true; // 3D detection is the default tracking mode.config.landmarks.isEnabled = true;&lt;P&gt;        config.pose.isEnabled = true;&lt;/P&gt;&lt;P&gt;        config.QueryExpressions().Enable();&lt;/P&gt;&lt;P&gt;        config.QueryExpressions().EnableExpression(PXCMFaceData.ExpressionsData.FaceExpression.EXPRESSION_MOUTH_OPEN);&lt;/P&gt;&lt;P&gt;        config.EnableAllAlerts();&lt;/P&gt;&lt;P&gt;        config.ApplyChanges();&lt;/P&gt;&lt;P&gt;        config.Dispose();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;}</description>
      <pubDate>Mon, 13 Feb 2017 08:55:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415313#M2647</guid>
      <dc:creator>松拓也</dc:creator>
      <dc:date>2017-02-13T08:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do i set 60fps with SR300(Color Camera , FaceTracking)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415314#M2648</link>
      <description>&lt;P&gt;It looks as though you have already correctly set it to 60 fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STREAM_TYPE_COLOR, 640, 480, 60);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first two numbers set the resolution (640, 480 is 640x480 resolution).  The third number on the end (60) is the FPS.  So by setting it at 60, you have set it as 640x480 resolution at 60 FPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wanted to set the stream type to color instead of depth, it would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sm.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_DEPTH,640,480,60);&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 09:33:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415314#M2648</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-13T09:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do i set 60fps with SR300(Color Camera , FaceTracking)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415315#M2649</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;umm...When i disable the FaceTracking Script, Unity runs 60fps.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 11:11:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415315#M2649</guid>
      <dc:creator>松拓也</dc:creator>
      <dc:date>2017-02-13T11:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do i set 60fps with SR300(Color Camera , FaceTracking)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415316#M2650</link>
      <description>&lt;P&gt;Unity always shows the FPS at 60 because of a feature called VSync, which sets the maximum FPS at 60.  If you wish, VSync can be disabled by going to Edit &amp;gt; Project Settings &amp;gt; Quality and, in the "Other" section of the settings, set the 'V Sync Count' option to 'Don't Sync'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Quality section allows you to set settings for each of Unity's run-quality modes.  So select each quality setting in turn and turn V Sync Count off in each one to ensure that it is always inactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 11:23:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415316#M2650</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-13T11:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do i set 60fps with SR300(Color Camera , FaceTracking)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415317#M2651</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;Following your advise, i set the Unity.&lt;/P&gt;&lt;P&gt;But Unity runs 30fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following sample runs 60fps.&lt;/P&gt;&lt;P&gt;Intel RealSense SDK Sample Brower -&amp;gt; Unity -&amp;gt; Hands Animation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand why it runs 60fps.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 11:54:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415317#M2651</guid>
      <dc:creator>松拓也</dc:creator>
      <dc:date>2017-02-13T11:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do i set 60fps with SR300(Color Camera , FaceTracking)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415318#M2652</link>
      <description>&lt;P&gt;Once VSync is turned off, you can use the targetFrameRate instruction to force your application to try to run at the FPS that you specify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.unity3d.com/ScriptReference/Application-targetFrameRate.html"&gt;https://docs.unity3d.com/ScriptReference/Application-targetFrameRate.html&lt;/A&gt; Unity - Scripting API: Application.targetFrameRate &lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 12:02:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415318#M2652</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-13T12:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do i set 60fps with SR300(Color Camera , FaceTracking)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415319#M2653</link>
      <description>&lt;P&gt;Thank you for your advise!&lt;/P&gt;&lt;P&gt;But, Unity runs 30FPS. orz&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 02:20:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415319#M2653</guid>
      <dc:creator>松拓也</dc:creator>
      <dc:date>2017-02-14T02:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do i set 60fps with SR300(Color Camera , FaceTracking)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415320#M2654</link>
      <description>&lt;P&gt;Somebody on the Unity forums who targetFrameRate did not work for tried this script instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; secondsThisFrame += Time.deltaTime;&lt;/P&gt;&lt;P&gt;     if(secondsThisFrame &amp;lt; 1.0f / FPS){&lt;/P&gt;&lt;P&gt;         return;&lt;/P&gt;&lt;P&gt;     }else{&lt;/P&gt;&lt;P&gt;         secondsThisFrame = 0;&lt;/P&gt;&lt;P&gt;     }&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 07:56:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415320#M2654</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-14T07:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do i set 60fps with SR300(Color Camera , FaceTracking)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415321#M2655</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;When i updated a RealSense Driver and SDK, Unity run 60FPS!!&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thank you for helping!</description>
      <pubDate>Mon, 20 Feb 2017 07:04:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415321#M2655</guid>
      <dc:creator>松拓也</dc:creator>
      <dc:date>2017-02-20T07:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do i set 60fps with SR300(Color Camera , FaceTracking)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415322#M2656</link>
      <description>&lt;P&gt;I'm glad you found a solution to your problem.  Please visit the forum again if you have further problems.  Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 08:24:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-i-set-60fps-with-SR300-Color-Camera-FaceTracking/m-p/415322#M2656</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-20T08:24:31Z</dc:date>
    </item>
  </channel>
</rss>

