To scan duplicate photos on a external disk please change the photos library of the external disk to Photos library and set the location:
1. Press Option key and double click Photos app
2. Click “Other Library” button to choose external Photo Library.
3. Open Preference of Duplicate Finder, then click Change to set Photos Library location.
4. Restart Duplicate Finder, then start scanning.