VideoCapture CAP_PROP_PAN & TILT

asked 2017-05-27 06:03:25 -0500

cherault gravatar image

Dear all,

I am confused about the videoCapture cap(CAP_PROP_PAN & TILT).

How could I use them ? IS it to drive a turret ? If yes how please ?

Thanks for your support.

Chris

edit retag flag offensive close merge delete

Comments

I would love to know this too.. I need to know for that frame what the camera orientation is..

There is also a CAP_PROP_ZOOM..

I just need to know for that frame what the camera orientation is..

From looking at the source it looks like only three capture types support these..

opencv/modules/videoio/src/cap_dshow.cpp
opencv/modules/videoio/src/cap_msmf.cpp
opencv/modules/videoio/src/cap_v4l.cpp
towster gravatar imagetowster ( 2019-04-01 21:09:24 -0500 )edit

@towster -- please do not post answers here, if you havea question or a comment, thank you.

berak gravatar imageberak ( 2019-04-02 01:01:06 -0500 )edit

@cherault . You can't do both parameters. You simply do one argument merely. cap.set(CAP_PROP_PAN) and cap.set(CAP_PROP_TILT)

supra56 gravatar imagesupra56 ( 2019-04-02 07:34:23 -0500 )edit