Exploiting visual search theory to infer social interactions