Using facial recognition system at public gatherings illegal, IFF tells govt