Browse Source

log capture process pid

blakeblackshear 6 năm trước cách đây
mục cha
commit
4476bd8a13
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      detect_objects.py

+ 1 - 0
detect_objects.py

@@ -66,6 +66,7 @@ def main():
 
     for name, camera in cameras.items():
         camera.start()
+        print("Capture process for {}: {}".format(name, camera.get_capture_pid()))
 
     # create a flask app that encodes frames a mjpeg on demand
     app = Flask(__name__)