A practical perception substrate for cognitive modeling in HCI