Well, i don't believe they take the picture for your benefit. Actually also seen that a picture is also taken on exit. So yes there might be more reasons like making sure the biometrics match with what is stored in the rfid chip on the passport. But you can bet that the data is stored and will be mined when needed.