Toward visual intelligence