# Revision history [back]

no, fx and fy are not constant, they depend on the zoom state of your camera.

so, whenever you change the zoom ( manually or by autofocus ), you need to recalibrate to get the current intrinsic matrix.

no, fx and fy are not constant, they depend on the zoom state of your camera.

so, whenever you change the zoom ( manually or by autofocus ), you need to recalibrate to get the current intrinsic matrix.

with a bit of luck, you can toggle the autofocus from the settings panel , try:

VideoCapture cap(0);
cap.set(CAP_PROP_SETTINGS,1);