Computer Science professor Minglun Gong and team developed an algorithm to virtually monitors crowd density.