ExifTool Forum

General => Metadata => Topic started by: Fwa on May 06, 2022, 04:37:25 AM

Title: Differenciate Smartphone files from "classic camera" files
Post by: Fwa on May 06, 2022, 04:37:25 AM
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 :)


Title: Re: Differenciate Smartphone files from "classic camera" files
Post by: StarGeek on May 06, 2022, 10:48:20 AM
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.
Title: Re: Differenciate Smartphone files from "classic camera" files
Post by: wywh on May 06, 2022, 03:18:41 PM
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