This is our image:
We install exiftool:
sudo apt install exiftool -y
Then we run the tool against the image
exiftool imagename.jpeg
We use exiftool and we get this output:
mint@mint:~/Downloads$ exiftool Untitled.jpeg
ExifTool Version Number : 12.76
File Name : Untitled.jpeg
Directory : .
File Size : 5.8 MB
File Modification Date/Time : 2024:08:14 16:05:33+05:30
File Access Date/Time : 2024:08:14 16:05:59+05:30
File Inode Change Date/Time : 2024:08:14 16:05:33+05:30
File Permissions : -rw-rw-r--
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
JFIF Version : 1.01
Exif Byte Order : Big-endian (Motorola, MM)
Make : Apple
Camera Model Name : iPhone 11 Pro
Orientation : Horizontal (normal)
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Software : 14.6
Modify Date : 2021:07:10 14:40:58
Host Computer : iPhone 11 Pro
Y Cb Cr Positioning : Centered
Exposure Time : 1/2890
F Number : 1.8
Exposure Program : Program AE
ISO : 32
Exif Version : 0232
Date/Time Original : 2021:07:10 14:40:58
Create Date : 2021:07:10 14:40:58
Offset Time : -04:00
Offset Time Original : -04:00
Offset Time Digitized : -04:00
Components Configuration : Y, Cb, Cr, -
Shutter Speed Value : 1/2890
Aperture Value : 1.8
Brightness Value : 10.01298684
Exposure Compensation : 0
Metering Mode : Multi-segment
Flash : Auto, Did not fire
Focal Length : 4.2 mm
Subject Area : 2002 1505 2213 1324
Maker Note Version : 12
Run Time Flags : Valid
Run Time Value : 1788768990536541
Run Time Scale : 1000000000
Run Time Epoch : 0
AE Stable : Yes
AE Target : 191
AE Average : 199
AF Stable : Yes
Acceleration Vector : -1.003690361 0.0163717717 -0.008652050049
Focus Distance Range : 1.13 - 1.27 m
Content Identifier : 4FA78693-1FEE-4C04-AB2D-294722B85AED
Image Capture Type : Photo
Live Photo Video Index : 570433536
HDR Headroom : 0
Signal To Noise Ratio : 60.1237526
Photo Identifier : 3F34F589-5649-4488-A163-FD001966CE86
Focus Position : 46
Sub Sec Time Original : 348
Sub Sec Time Digitized : 348
Flashpix Version : 0100
Color Space : Uncalibrated
Exif Image Width : 4032
Exif Image Height : 3024
Sensing Method : One-chip color area
Scene Type : Directly photographed
Exposure Mode : Auto
White Balance : Auto
Focal Length In 35mm Format : 26 mm
Scene Capture Type : Standard
Lens Info : 1.539999962-6mm f/1.8-2.4
Lens Make : Apple
Lens Model : iPhone 11 Pro back triple camera 4.25mm f/1.8
Composite Image : General Composite Image
GPS Latitude Ref : North
GPS Longitude Ref : West
GPS Altitude Ref : Above Sea Level
GPS Speed Ref : km/h
GPS Speed : 0.4225664139
GPS Img Direction Ref : True North
GPS Img Direction : 322.4153901
GPS Dest Bearing Ref : True North
GPS Dest Bearing : 322.4153901
GPS Date Stamp : 2021:07:10
GPS Horizontal Positioning Error: 16.22347318 m
Profile CMM Type : Apple Computer Inc.
Profile Version : 4.0.0
Profile Class : Display Device Profile
Color Space Data : RGB
Profile Connection Space : XYZ
Profile Date Time : 2017:07:07 13:22:32
Profile File Signature : acsp
Primary Platform : Apple Computer Inc.
CMM Flags : Not Embedded, Independent
Device Manufacturer : Apple Computer Inc.
Device Model :
Device Attributes : Reflective, Glossy, Positive, Color
Rendering Intent : Perceptual
Connection Space Illuminant : 0.9642 1 0.82491
Profile Creator : Apple Computer Inc.
Profile ID : ca1a9582257f104d389913d5d1ea1582
Profile Description : Display P3
Profile Copyright : Copyright Apple Inc., 2017
Media White Point : 0.95045 1 1.08905
Red Matrix Column : 0.51512 0.2412 -0.00105
Green Matrix Column : 0.29198 0.69225 0.04189
Blue Matrix Column : 0.1571 0.06657 0.78407
Red Tone Reproduction Curve : (Binary data 32 bytes, use -b option to extract)
Chromatic Adaptation : 1.04788 0.02292 -0.0502 0.02959 0.99048 -0.01706 -0.00923 0.01508 0.75168
Blue Tone Reproduction Curve : (Binary data 32 bytes, use -b option to extract)
Green Tone Reproduction Curve : (Binary data 32 bytes, use -b option to extract)
Image Width : 4032
Image Height : 3024
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:4:4 (1 1)
Run Time Since Power Up : 20 days 16:52:49
Aperture : 1.8
Image Size : 4032x3024
Megapixels : 12.2
Scale Factor To 35 mm Equivalent: 6.1
Shutter Speed : 1/2890
Create Date : 2021:07:10 14:40:58.348-04:00
Date/Time Original : 2021:07:10 14:40:58.348-04:00
Modify Date : 2021:07:10 14:40:58-04:00
GPS Altitude : 401.6 m Above Sea Level
GPS Latitude : 46 deg 38' 36.84" N
GPS Longitude : 88 deg 28' 46.12" W
Circle Of Confusion : 0.005 mm
Field Of View : 69.4 deg
Focal Length : 4.2 mm (35 mm equivalent: 26.0 mm)
GPS Position : 46 deg 38' 36.84" N, 88 deg 28' 46.12" W
Hyperfocal Distance : 2.04 m
Light Value : 14.8
Lens ID : iPhone 11 Pro back triple camera 4.25mm f/1.8
Hence we have our flag
Then we run this on google map and find the town
Bessemer