threaded object detection