Image rotates, faces not found

I frequently have unwanted rotation of images and as a consequence faces do not get recognized. This occurs when initiating Topaz Photo AI from Lightroom in the files dropdown option