threads for analyzing scene