AnamikaGupta Whenever I used the camera for detection it goes out of focus in the middle of detection and because of that, causes problem in getting proper result.
jakaskerl Hi AnamikaGupta You can set the manual focus if you don't want your subject going out of focus: As implemented in https://docs.luxonis.com/projects/api/en/latest/samples/ColorCamera/rgb_camera_control/ print("Setting manual focus, lens position: ", lensPos) ctrl = dai.CameraControl() ctrl.setManualFocus(lensPos) controlQueue.send(ctrl) Thanks, Jaka