mirror of
https://github.com/ganeshsar/UnityPythonMediaPipeBodyPose.git
synced 2025-07-07 03:07:36 +08:00
16 lines
241 B
Python
16 lines
241 B
Python
#pipe server
|
|
from body import BodyThread
|
|
import time
|
|
import struct
|
|
import global_vars
|
|
from sys import exit
|
|
|
|
|
|
thread = BodyThread()
|
|
thread.start()
|
|
|
|
i = input()
|
|
print("Exiting…")
|
|
global_vars.KILL_THREADS = True
|
|
time.sleep(0.5)
|
|
exit() |