void OnDestroy()
 {
     webcamTexture?.Stop();
     poseDetect?.Dispose();
     poseLandmark?.Dispose();
     draw?.Dispose();
 }
Example #2
0
 void OnDestroy()
 {
     webcamTexture?.Stop();
     faceDetect?.Dispose();
     faceMesh?.Dispose();
     draw?.Dispose();
 }
Example #3
0
    private void OnDestroy()
    {
        var webCamInput = GetComponent <WebCamInput>();

        webCamInput.OnTextureUpdate.RemoveListener(OnTextureUpdate);
        moveNet?.Dispose();
        draw?.Dispose();
    }
Example #4
0
    private void OnDestroy()
    {
        GetComponent <WebCamInput>().OnTextureUpdate.RemoveListener(OnTextureUpdate);

        poseDetect?.Dispose();
        poseLandmark?.Dispose();
        draw?.Dispose();
    }
    void OnDestroy()
    {
        m_webcamTexture?.Stop();
        m_faceDetect?.Dispose();
        m_faceMesh?.Dispose();
        m_irisLeftDetect?.Dispose();
        m_irisRightDetect?.Dispose();

        m_drawPrimitive?.Dispose();
    }
 void OnDestroy()
 {
     webcamTexture?.Stop();
     poseNet?.Dispose();
     draw?.Dispose();
 }