private void Awake() { // Enable openpose log to unity OPAPI.OPEnableDebug(true); // Configure openpose with default value OPAPI.OPConfigure(); // Enable receiving output and send the callback function OPAPI.OPSetOutputCallback(true, OPOutput); // Start openpose OPAPI.OPRun(); }
private void OnDestroy() { // Stop openpose OPAPI.OPShutdown(); }