add series and thread for cv2 detection case