• Does image size affect to FPS?

Hi,

I am currently using an OaK-1 camera following configuration:

# Create pipeline
pipeline = dai.Pipeline()

# Define sources and output
camRgb = pipeline.create(dai.node.ColorCamera)
xout = pipeline.create(dai.node.XLinkOut)
xoutRgb = pipeline.create(dai.node.XLinkOut)
xout.setStreamName('h265')
xoutRgb.setStreamName('rgb')
# Properties
camRgb.setBoardSocket(dai.CameraBoardSocket.RGB)
camRgb.setResolution(dai.ColorCameraProperties.SensorResolution.THE_12_MP)
camRgb.setFps(30)
camRgb.setIspScale(1, 2)
camRgb.setPreviewKeepAspectRatio(keep=False)

# Linking
camRgb.isp.link(xoutRgb.input)

But seemingly, it gives only 20FPS even if I increase FPS. How can make it goes up?

  • erik replied to this.
    • Best Answerset by erik

    Hi Jungduri ,
    I'd assume it's due to your computer not being able to preview the frames fast enough. I get steady 30FPS with this code:

    Hi Jungduri ,
    I'd assume it's due to your computer not being able to preview the frames fast enough. I get steady 30FPS with this code: