Skip to main content
heatherc15475534
Participant
June 4, 2022
Answered

Batch Auto-straightening isn't working

  • June 4, 2022
  • 4 replies
  • 35142 views

Good morning! I'm trying to auto straighten a bunch of photos, something I haven't had issues with in the past. I select my images, select 'auto sync', go to the crop tool and hit Auto to straighten. All of my images look like they've had an adjustment made (or LR thinks they have) but if I go back into the image and hit the auto straighten, more adjustments are made. This is frustrating as this used to work, so I don't think it's my technique. Any ideas on how I can make this functional again? Anyone else having this issue? TIA.

Correct answer johnrellis

[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

When you click the crop tool's Auto button, Auto Sync copies the computed crop angle from the current photo to all the other selected photos, so they all end up with the same angle.  It does not recompute the straighten angle for each selected photo.  I verified this behavior in LR 11.3.1 and 10.4.

 

To batch-straighten all the selected photos, computing the correct angle for each photo separately, do this instead:

 

1. Select all the photos and go to Develop.

 

2. In the Transform panel, select Level and Constrain Crop.

 

3. Click the Sync button and select Upright Mode only:

 

 

And yes, you could also use Auto Sync, but it's dangerous, and for too many people, using it eventually ends in tears.

4 replies

Participant
January 3, 2024

2024. Still paying a premium subscription price and Adobe can't give us the ability to batch correct. 

johnrellis
Legend
January 4, 2024
Participant
November 1, 2023

Good day! I found this solution earlier this year and it had been working great for months. but then recently after these new updates, it hasnt been working right for each image any more. Is there a new solution or something I should be doing now?

 

johnrellis
Legend
November 2, 2023

Hmm, I just retested my steps above, and they worked in my test catalog with LR 13.0.1.  Do Help > System Info -- which exact version of LR are you running?

Nicolas Gop
Participant
December 5, 2023

Hi John! 
there is not Shortcut for  Crop - Auto.  isn´t ?

roc97007
Known Participant
November 1, 2022

I'd like to suggest an enhancement request.  There's currently no way to auto-straighten a batch of photos.  Auto-straighten sometimes gets it wrong, but it would still be a net timesaver.  I deal with thousands of photos over multiple days, and the single most common buttons I press in Develop is "r" followed by clicking on the "Auto" button.  There doesn't even seem to be a keyboard shortcut for auto straighten, which although not ideal might be faster.

 

Ideally, I would Select a bunch of photos, click "Auto" once, and have them all auto straighten, NOT to the same tilt as the first photo, but each straightened as if I did it individually.

 

   Ron

JohanElzenga
Community Expert
Community Expert
November 1, 2022

There already is a way to do this, even more than one way. The first way is to select the photos, go to the develop module, toggle the little switch of the 'Synchronize' button so it changes to 'Auto Sync' and then click that 'Auto' button to straighten. The second way is to save auto straighten in a preset. Save only the Transformation mode, nothing else. The third way is copy/paste, where again you should only select the mode.

 

-- Johan W. Elzenga
roc97007
Known Participant
November 1, 2022
I've read about the synchronize technique, but my understanding is that it adjusts the angle of the rest of the photos the same degree as the first photo, instead of recalculating the degree of straightening necessary for each photo. True or not true?

The issue is that I might have 2500 photos all taken against the same set of vertical columns, (in a stadium, as it happens) but each photo might be off by a slightly different amount and in a different direction. Syncing the angle of a bunch of photos to the angle of the first photo is not a solution, as the corrections will be different for each one.

Please advise.

Ron
johnrellis
johnrellisCorrect answer
Legend
June 4, 2022

[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

When you click the crop tool's Auto button, Auto Sync copies the computed crop angle from the current photo to all the other selected photos, so they all end up with the same angle.  It does not recompute the straighten angle for each selected photo.  I verified this behavior in LR 11.3.1 and 10.4.

 

To batch-straighten all the selected photos, computing the correct angle for each photo separately, do this instead:

 

1. Select all the photos and go to Develop.

 

2. In the Transform panel, select Level and Constrain Crop.

 

3. Click the Sync button and select Upright Mode only:

 

 

And yes, you could also use Auto Sync, but it's dangerous, and for too many people, using it eventually ends in tears.

roc97007
Known Participant
November 4, 2022

I'm sorry the above solution, using upright in transform, does not work, at least in Build 202210260744-9e008017.

 

What I'm seeing when I click "Constrain Crop" and click "Level" in the Upright session is that the photo gets tilted about 15 degrees and distorted.  Whereas hitting "auto" in the crop section straightens the photo properly.  These photos are taken in a stadium with white vertical columns, so it should be child's play for the algorithm, but nevertheless, "Auto" works correctly, and "Level" in Upright does not.

 

So I'm still saying, this is an enhancement request.

roc97007
Known Participant
November 4, 2022

Please upload a sample problem photo to Dropbox, Google Drive, or similar and post the sharing link here. That will concretely illustrate the issue.


Here's a sample photo.  original.PNG has basic exposure and is cropped to 8X10 but doesn't have straightening applied.  As you can see, it's ever so slightly tilted clockwise, judging by the vertical pillars in the background.

 

auto_button.png is the results from pressing the auto straighten button in the crop and straighten pane.  Note that it's slightly rotated left compared to the original.

 

vertical_error.png is the result of pressing "Level" in the Upright pane.  Note that the photo is tilted significantly counter-clockwise and is distorted.

 

It doesn't seem to matter whether "constrain crop" is checked or not.  Moreover, I get significant tilt and distortion no matter what transform button I press.

 

My first attempt was doing the transform on one photo and then copy/pasting the transform to all my other photos.  The results were clownhouse mirror, totally unusable.  Fortunately, it was easy to back out the mass change.  Since then, I've discovered through spot checking that "transform" incorrectly straightens and distorts in every case.  So it looks like it's not the copy/paste that's the issue, it's the transform itself.

 

Again, this is Lightroom Classic build 202210260744-9e008017 running on Windows 10 Pro version 21H2, Nvidia GeForce GTX 1660 SUPER running studio driver version 522.25, clean install.

 

I note that Nvidia has a 522.30 driver; I'm presently downloading that.  Will do a clean install and re-verify.

 

Let me know if you can't access the images.

 

https://www.dropbox.com/sh/mm1zh11q3esvfkp/AABJrZ0eBaSr5fV1O1c6-1Y0a?dl=0