소스 검색

fix datestamp positioning

Blake Blackshear 5 년 전
부모
커밋
d899ef158e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frigate/objects.py

+ 1 - 1
frigate/objects.py

@@ -87,6 +87,6 @@ class BestPersonFrame(threading.Thread):
                 
                 # print a timestamp
                 time_to_show = datetime.datetime.fromtimestamp(self.best_person['frame_time']).strftime("%m/%d/%Y %H:%M:%S")
-                cv2.putText(best_frame, time_to_show, (10, 10), cv2.FONT_HERSHEY_SIMPLEX, fontScale=1, color=(255, 255, 255), thickness=4)
+                cv2.putText(best_frame, time_to_show, (10, 30), cv2.FONT_HERSHEY_SIMPLEX, fontScale=.8, color=(255, 255, 255), thickness=2)
                 
                 self.best_frame = cv2.cvtColor(best_frame, cv2.COLOR_RGB2BGR)