reduce delay and add RESH  RESV  (resolution camera)  and ROT(0 or 90)
Rotate image at 90° for vertical mount camera
update code