Skip to content

Commit

Permalink
add more tests; fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmerza committed Jan 13, 2024
1 parent c772de8 commit 5e38f97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def save_image(config, after_data, image_content, license_plate_attribute, plate
# save image
timestamp = datetime.now().strftime(DATETIME_FORMAT)
image_path = f"{snapshot_path}/{after_data['camera']}_{timestamp}.png"
_LOGGER.debug(f"Saving image with path: {image_path}")
image.save(image_path)

def get_license_plate(config, after_data):
Expand Down

0 comments on commit 5e38f97

Please sign in to comment.