Artificial Intelligence Applied to Spatial Cognition Assessment