Skip to content

Commit 3c3d2fb

Browse files
committed
Change heatmap image extension
1 parent b5f2206 commit 3c3d2fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ia4birds-all/ai4birds-ingest-service/ai4birds_ingest_service/model/data_heatmap

ia4birds-all/ai4birds-ingest-service/ai4birds_ingest_service/model/data_heatmap/data_heatmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def from_dict(cls, data: Dict[str, Any], image_bytes: bytes) -> 'DataHeatmap':
3434
os.makedirs(config.HEATMAP_PATH, exist_ok=True)
3535

3636
timestamp = datatime.strftime('%Y%m%d_%H%M%S')
37-
filename = f"{camera_id}_{timestamp}.png"
37+
filename = f"{camera_id}_{timestamp}.jpg"
3838

3939
# Path
4040
image_abs_path = os.path.join(config.HEATMAP_PATH, filename)

0 commit comments

Comments
 (0)