Hello everyone.
Setting the maximum resolution takes too much time to acquire an isp image. I'd like to ask if I can reduce this time. Also, I would like to know if there is a way to quickly resize the image of the maximum angle of view.
Below is the isp acquisition time when it is not the maximum resolution in oak-1-poe and isp acquisition time when it is the maximum resolution.
1) 1080p
[184430108176DD0F00] [192.168.0.100] [5.491] [ColorCamera(1)] [trace]
Color ISP took '3.7224' ms.
[184430108176DD0F00] [192.168.0.100] [5.495] [ColorCamera(1)] [trace] ColorCamera post processing took '3.39668' ms.
[184430108176DD0F00] [192.168.0.100] [5.495] [system] [trace] EV:0,S:0,IDS:6,IDD:12,TSS:5,TSN:495163171
[184430108176DD0F00] [192.168.0.100] [5.495] [system] [trace] EV:0,S:1,IDS:6,IDD:12,TSS:5,TSN:495206187
[184430108176DD0F00] [192.168.0.100] [5.495] [system] [trace] EV:1,S:1,IDS:12,IDD:0,TSS:5,TSN:495713442
[184430108176DD0F00] [192.168.0.100] [5.497] [ImageManip(3)] [trace] ImageManip took '1.326887' ms.
2) Max resolution(THE_12_MP)
[184430108176DD0F00] [192.168.0.100] [5.546] [ColorCamera(1)] [trace]
Color ISP took '19.3893' ms.
[184430108176DD0F00] [192.168.0.100] [5.550] [ColorCamera(1)] [trace] ColorCamera post processing took '3.117423' ms.
[184430108176DD0F00] [192.168.0.100] [5.550] [system] [trace] EV:0,S:0,IDS:6,IDD:12,TSS:5,TSN:550122338
[184430108176DD0F00] [192.168.0.100] [5.550] [system] [trace] EV:0,S:1,IDS:6,IDD:12,TSS:5,TSN:550164511
[184430108176DD0F00] [192.168.0.100] [5.550] [system] [trace] EV:1,S:1,IDS:12,IDD:0,TSS:5,TSN:550718747
[184430108176DD0F00] [192.168.0.100] [5.552] [ImageManip(3)] [trace] ImageManip took '1.341327' ms.
<code>
cam_rgb.setPreviewSize(192, 192)
cam_rgb.setBoardSocket(dai.CameraBoardSocket.RGB)
cam_rgb.setResolution(dai.ColorCameraProperties.SensorResolution.THE_12_MP)
cam_rgb.setIspScale(1, 3)
cam_rgb.setPreviewKeepAspectRatio(keep=False)