This utility would scan the key signature, and the treble line to determine the Chords to be used in a lead sheet.
The user would have the option to do Chord substitutions. Windows 10, Finale V25.
Fender.com has a similar software program called RiffSource.
It listens to the audio, rather than look at the sheet music notes
to determine the Chords used.