소스 검색

get the thumbnail instead of the full frame

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

+ 1 - 1
frigate/http.py

@@ -102,7 +102,7 @@ def event_snapshot(id):
                 if id in camera_state.tracked_objects:
                     tracked_obj = camera_state.tracked_objects.get(id)
                     if not tracked_obj is None:
-                        thumbnail_bytes = tracked_obj.get_jpg_bytes()
+                        thumbnail_bytes = tracked_obj.get_thumbnail()
         except:
             return "Event not found", 404