Differenciate Smartphone files from "classic camera" files

Started by Fwa, May 06, 2022, 04:37:25 AM

Previous topic - Next topic

Fwa

Hello,

I'm discovering (a bit late) ExifTool and I've to say I'm very impressed by the work that has been achieved.
I've been writing my own software in Java (for my personal use only) to organize all my photos/videos, but I'm facing a little challenge when it comes to differenciate smartphone files from other camera files (drone shots / standards cameras / smartphone shots,..).

I've found an extensive list of equipements brands and models on ExifTool (https://exiftool.org/models.html ), which sounds like the safest way to identify the type of device that took the shot,
But all the models are put together under their brand, so I can't know if a specific model is a phone or a camera.
I was wondering if a similar list exsisted, but with sub categories.

For instance :
Sony -> Cameras -> all the models
Sony -> Smartphones -> all the models

If you know another easy/safe way to identify the device type, I 'm all ears :)

Thanks a lot :)



StarGeek

There really isn't a way to tell.  From the metadata point of view, there's no difference between an image shot by a phone, a DSLR, a drone, or a scanned image.  Some sources will embed more or less data and you could tell the differences that way, but otherwise the only way to really tell what the source is from an unknown Make/Model would be to Google it.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

wywh

I have used something like this to check which device took the image:

exiftool -q -q -fileOrder FileName -if '$Model=~/Canon/i' -p '$FileName/$Model' .

exiftool -q -q -fileOrder FileName -if '$Make=~/DJI/i' -p '$FileName' .


(I use '-fileOrder FileName' because otherwise APFS filesystem scatters the filenames).

- Matti