Spaces:
Sleeping
Sleeping
rmm
commited on
Commit
·
961b1c3
1
Parent(s):
90b0271
chore: tidy up data used for developing one snippet
Browse files
snippets/extract_meta.py
CHANGED
@@ -38,7 +38,7 @@ def extract_gps(image_path):
|
|
38 |
|
39 |
return (lat, lon)
|
40 |
# Example usage
|
41 |
-
image_path = '
|
42 |
datetime_info = extract_datetime(image_path)
|
43 |
gps_info = extract_gps(image_path)
|
44 |
print(f'Date and Time: {datetime_info}')
|
|
|
38 |
|
39 |
return (lat, lon)
|
40 |
# Example usage
|
41 |
+
image_path = 'imgs/cakes.jpg' # this file has good exif data, inc GPS, timestamps etc.
|
42 |
datetime_info = extract_datetime(image_path)
|
43 |
gps_info = extract_gps(image_path)
|
44 |
print(f'Date and Time: {datetime_info}')
|
{call_models → snippets}/imgs/cakes.jpg
RENAMED
File without changes
|