This is actually standard practice in Las Vegas, among other places. Once got charged after simply ruffling past the chip bags and not really moving anything (hair trigger). My impression was that this was done with light sensors, but I could be wrong.