The camera works when u cross the lining which r drawn near to the pedestrian crossing whensoever u cross them when the signal is red the flash will appear so u passed these linings when the signal was yellow so u r out of it :D.Let me show u the lines
_____________________
+_____________________+

_____________________
+_____________________+

If ur back wheels passes through the fast lining u will b out of danger but beware of the second 1ining u should keep ur back wheels in ur control otherwise pay the fine :P