  We give a positive answer to a conjecture of Aluffi-Harris on the computation
of the Euclidean distance degree of a possibly singular projective variety in
terms of the local Euler obstruction function.
