integrated relationship detector with scene segmenter