Speed up detector instantiation when IP camera is used