Here code:
Code:
import exiftool
with exiftool.ExifTool() as et:
alt_text_from_exif = et.execute("-XMP:Alt Text Accessibility", "test.jpg")
alt_text_from_exif = alt_text_from_exif.replace('[XMP] Alt Text Accessibility : ', '')
print(alt_text_from_exif)
For image
https://www.mobileread.com/forums/at...5&d=1715716506
result: A monk, holding a stick in his left hand and a bowl in his right hand, stands in front of a crowd of peopple.