Does the DJI Matrice 5T have better thermal resolution than the Matrice 4T and Matrice 4TD?

Yes. The DJI Matrice 5T has a native thermal resolution of 1280 × 1024, four times the pixel count of the 640 × 512 sensor on the DJI Matrice 4T and DJI Matrice 4TD.

The Matrice 5T also has a UHR Infrared Image mode up to 2560 × 2048 for even greater detail, while the Matrice 4T and Matrice 4TD have a UHR mode of 1280 × 1024.