Lens not recognized

The “Lens Correction” module does not find my lens although it is listed as supported by lensfun. Camera SOny A6300
Lens Yongnuo 50 mm
Windows 11

Captura de tela 2022-10-22 110106

    <lens>
        <maker>Yongnuo</maker>
        <model>Yongnuo YN 50mm f/1.8</model>
        <mount>Canon EF</mount>
        <cropfactor>1</cropfactor>
        <calibration>
            <!-- Taken with Canon EOS 750D -->
            <distortion model="ptlens" focal="50" a="0.001578" b="-0.009476" c="0.013445"/>
            <tca model="poly3" focal="50" vr="1.0001503" vb="0.9998860"/>
        </calibration>
    </lens>

I found the lens for crop factor 1 and Canon EF mount. Your A6300 has 1.534. You could copy this stuff and edit the mount and the crop factor for the profile to be applied, but most likely the correction won’t fit the aps-c sensor.

1 Like

It seems strange if the crop factor is 1 and taken with 750D.

1 Like

Good point, this doesn’t look correct.

I would simply test it. Set the camera to generic, crop-factor 1.0. Then choose the lens and see what it does to a photo of some straight grid lines. If it’s fine, edit the XML for it to be auto applied. You would have to redo this after DT updates.

grafik

Or make a module preset for the lens.

grafik

1 Like

I have a similar problem with one of my Sigma lenses being identified incorrectly. The simple solution for me was to make a preset to select the correct lens.