Hi folks,
I have a question regarding the below situation:
I have manipulated the deptai-experiment poe-tcp-streaming example.
Here is pipeline details:
cam_rgb = pipeline.createColorCamera()
cam_rgb.setIspScale(2, 3)
self.fps = cam_rgb.getFps()
self.height = cam_rgb.getResolutionHeight()
self.width = cam_rgb.getResolutionWidth()
self.logger.info("[{}] OAK Side -> Fps: {}, width: {} height: {}".format(self.name,self.fps,self.width,self.height))
when I created the above pipeline, I get the below log:
[oak] OAK Side -> Fps: 30.0, width: 1920 height: 1080
But I would expect to see scaled width
and height
values. Is it expected behaviour or a bug?
On host side when I control the incoming frame in a while loop by:
frame = self._read_stream()
frame_height, frame_width, _ = frame.shape
self.logger.info("[{}] Host Side -> Fps: {}, width: {} height: {}".format(self.name,self.fps,frame_width,frame_height))
I see the below log as expected:
[oak] Host Side -> Fps: 30.0, width: 1280 height: 720
To repeat my quesiton, is this an expected behavior or a bug?