How to identify a compact camera (not a dslr with changeable lens)

Started by linuxuser, May 09, 2018, 07:25:48 AM

Previous topic - Next topic

linuxuser

In a bash-script, I want to identify new lenses, which must be defined in a script. So I cannot simple search if there is a value in the lens ID field. Normally there is no lens ID for a compact camera (without a changeable lens) So how can I identify a compact camera, which should be ignored in my script.

A lot of compact cameras, show nothing, others something like this:

[EXIF]          0xa432 Lens Info                       : 10.4-37.1mm f/1.8-4.9
[MakerNotes]    0xb02a Lens Spec                       : 28-100mm F1.8-4.9
[MakerNotes]    0x001e Lens Zoom Position              : 0%

[MakerNotes]    0x0016 Lens Type                       : n/a
[Composite]          - Lens                            : 7.4 - 44.4 mm
[Composite]          - Lens ID                         : Unknown 7-44mm
[Composite]          - Lens                            : 7.4 - 44.4 mm (35 mm equivalent: 35.0 - 210.0 mm)


Phil Harvey

I don't know how to identify a compact camera of any brand.  For some brands this is certainly possible, but the technique would be brand-dependent.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

linuxuser