write vpdetection to vp_out dir