Object detection enhanced context model