Ask Your Question
0

Pan Tilt Zoom

asked 2013-05-20 21:05:47 -0600

sachin_rt gravatar image

Is there an inbuilt way in opencv of controlling the pan , tilt , zoom of a connected webcam . I am using a Logitech PTZ camera . Reply asap . Thanks a lot .

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2019-06-06 16:51:00 -0600

Witek gravatar image

updated 2019-06-11 17:30:42 -0600

You can set capture properties such as CAP_PROP_PAN, CAP_PROP_TILT, CAP_PROP_ZOOM, however not all cameras support these properties. I only used zoom for one of my cameras and it worked.

edit flag offensive delete link more

Comments

Change this:

CAO_PROP_ZOOM

to:

CAP_PROP_ZOOM
supra56 gravatar imagesupra56 ( 2019-06-07 22:57:47 -0600 )edit

Done. Thanks for pointing that out.

Witek gravatar imageWitek ( 2019-06-11 17:31:09 -0600 )edit

Question Tools

Stats

Asked: 2013-05-20 21:05:47 -0600

Seen: 1,224 times

Last updated: Jun 11 '19