We updated the program with multi-thread, where the pedestrian detection is run in the other thread.