Example #1
0
    /// <summary>
    /// Updates the current frame quality
    /// </summary>
    public void OnFrameQualityChanged(ImageTargetBuilder.FrameQuality frameQuality)
    {
        Debug.Log("Frame quality changed: " + frameQuality.ToString());
        m_FrameQuality = frameQuality;
        if (m_FrameQuality == ImageTargetBuilder.FrameQuality.FRAME_QUALITY_LOW)
        {
            Debug.Log("Low camera image quality");
        }

        m_FrameQualityMeter.SetQuality(frameQuality);
    }
Example #2
0
    /// <summary>
    /// Updates the current frame quality
    /// </summary>
    public void OnFrameQualityChanged(ImageTargetBuilder.FrameQuality frameQuality)
    {
        Debug.Log("Frame quality changed: " + frameQuality.ToString());
        if (!m_ObjectTracker.IsActive)
        {
            debugMessage.SetDebugText(frameQuality.ToString());
        }
        else
        {
            debugMessage.SetDebugText("Tracking...");
        }
        m_FrameQuality = frameQuality;
        if (m_FrameQuality == ImageTargetBuilder.FrameQuality.FRAME_QUALITY_LOW)
        {
            Debug.Log("Low camera image quality");
        }

        m_FrameQualityMeter.SetQuality(frameQuality);
    }
Example #3
0
 public void OnFrameQualityChanged(ImageTargetBuilder.FrameQuality frameQuality) // метод отвечающий за качество кадра во время перемещения камеры аналог Update, подробнее по ссылке https://library.vuforia.com/articles/Training/User-Defined-Targets-Guide
 {                                                                               // он нужен для определения качества картинки как 5 звезд в Vuforia
     UDT_Quality = frameQuality;
     _farmequalitymeter.SetQuality(frameQuality);
     Debug.Log("Quality");
 }