소스 검색

log capture process pid

blakeblackshear 6 년 전
부모
커밋
4476bd8a13
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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__)