Repository for M.A.I.L system's analysis server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

checkstatus.py 296B

1234567891011121314151617181920
  1. from asyncio import subprocess
  2. import sys
  3. import os
  4. import pyzed.sl as sl
  5. import threading
  6. import time
  7. from signal import signal, SIGINT
  8. def check_status():
  9. cameras = sl.Camera.get_device_list()
  10. print(cameras)
  11. def main():
  12. check_status()
  13. if __name__ == '__main__':
  14. main()