userOfCamera Getting the following error: detection_nn.config_nn(resize_mode='stretch') ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'depthai.node.NeuralNetwork' object has no attribute 'config_nn' On this code: detection_nn = pipeline.createNeuralNetwork() detection_nn.setBlobPath(nnPath) detection_nn.config_nn(resize_mode='stretch') I was trying to follow this: https://docs.luxonis.com/projects/api/en/latest/tutorials/maximize_fov/#change-aspect-ratio
jakaskerl Hi @userOfCamera detection_nn.config_nn(resize_mode='stretch') is part of depthai SDK, whereas you are using depthai API. Use camRgb.setPreviewKeepAspectRatio(False) to make the preview frame squeezed. Here is an example. Thanks, Jaka