Пример #1
0
 void Update()
 {
     nt.setRGB();
     nt.setSkeleton();
     nt.setFace();
     nt.imshowBlack();
     Debug.Log("n = " + nt.skeleton.Count);
 }
Пример #2
0
    void Update()
    {
        nt.setRGB();
        nt.setSkeleton();
        //nt.setFace();
        nt.imshowBlack();
        int n = nt.getSkeleton();

        if (n > 0)
        {
            cs.set(nt, 0, mirror, move, headMove);
            rhState = nt.handState(false);
            lhState = nt.handState(true);
        }

        Debug.Log("rh:" + rhState + "lh:" + lhState);
    }