Some kind of electromagnetic sensor does seem like a way to go. Not sure of the practicalities of magnetising/ keeping magnetised a golf club head though.
And ideally it would work with all of your clubs or at least all your metal clubs, not just one special club.
And ideally it would work with all of your clubs or at least all your metal clubs, not just one special club.