Masks will probably remain socially acceptable for quite some time post-COVID. If you don’t agree with facial recognition you can just wear one.
Keep in mind, just like with web analytics, these solutions will be provided by 3rd parties which will aggregate this data across multiple businesses.
My gait changes if I use hiking boots vs. bouncy runners for example.
More serious (even though I think my example isn't that far-fetched): I'm really not sure what to think of these camera and whetavere software backend slowly creeping into society. It has been predicted, definitely not everyone is ok with it, but still it just happens.
The quick solution for retailers would be banning use of IR/lasers in-store and they'll play the "if you don't like it you can shop elsewhere" game.